diff options
author | Max Horn | 2009-05-31 15:07:55 +0000 |
---|---|---|
committer | Max Horn | 2009-05-31 15:07:55 +0000 |
commit | 7140dda5e5e8af593c373a27340aea4f72d618c2 (patch) | |
tree | 7867dffa507b3219d841ef6222c81753b2c28a05 /engines/made/scriptfuncs.cpp | |
parent | 4441ca4b3e39ed1613c826f7b46b1e7076fcbe14 (diff) | |
download | scummvm-rg350-7140dda5e5e8af593c373a27340aea4f72d618c2.tar.gz scummvm-rg350-7140dda5e5e8af593c373a27340aea4f72d618c2.tar.bz2 scummvm-rg350-7140dda5e5e8af593c373a27340aea4f72d618c2.zip |
MADE: cleanup
svn-id: r41070
Diffstat (limited to 'engines/made/scriptfuncs.cpp')
-rw-r--r-- | engines/made/scriptfuncs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/made/scriptfuncs.cpp b/engines/made/scriptfuncs.cpp index c0373dfa0d..0f1e7b4512 100644 --- a/engines/made/scriptfuncs.cpp +++ b/engines/made/scriptfuncs.cpp @@ -637,7 +637,7 @@ int16 ScriptFunctions::sfGetSoundEnergy(int16 argc, int16 *argv) { int result = 0; if (_vm->_mixer->isSoundHandleActive(_audioStreamHandle) && _vm->_soundEnergyArray) { while (_vm->_soundEnergyIndex < _vm->_soundEnergyArray->size()) { - SoundEnergyItem *soundEnergyItem = &_vm->_soundEnergyArray->operator[](_vm->_soundEnergyIndex); + SoundEnergyItem *soundEnergyItem = &(*_vm->_soundEnergyArray)[_vm->_soundEnergyIndex]; if (((_vm->_soundRate / 1000) * _vm->_mixer->getSoundElapsedTime(_audioStreamHandle)) < soundEnergyItem->position) { result = soundEnergyItem->energy; break; |