diff options
-rw-r--r-- | scumm/intern.h | 3 | ||||
-rw-r--r-- | scumm/sound_he.cpp | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/scumm/intern.h b/scumm/intern.h index 668c1ba7ed..7b603bec88 100644 --- a/scumm/intern.h +++ b/scumm/intern.h @@ -1084,8 +1084,7 @@ protected: const OpcodeEntryV80he *_opcodesV80he; - int32 _heSndResId; - int _curSndId, _sndPtrOffs, _sndTmrOffs; + int32 _heSndResId, _curSndId, _sndPtrOffs, _sndTmrOffs; public: ScummEngine_v80he(GameDetector *detector, OSystem *syst, const ScummGameSettings &gs, uint8 md5sum[16], int substResFileNameIndex); diff --git a/scumm/sound_he.cpp b/scumm/sound_he.cpp index 766388e63b..18e4a3439f 100644 --- a/scumm/sound_he.cpp +++ b/scumm/sound_he.cpp @@ -293,7 +293,6 @@ void Sound::processSoundOpcodes(int sound, byte *codePtr, int *soundVars) { if (edi == 2) { val = getSoundVar(sound, val); } - val = getSoundVar(sound, var) / val; setSoundVar(sound, var, val); break; |