aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2006-01-16 10:11:52 +0000
committerTravis Howell2006-01-16 10:11:52 +0000
commit53e435d0025a74818e70acbf9b398a6db6515676 (patch)
treee681c18cc4adf9424bcb79a4c78e39013fb10102
parenta4906b2f2b212a2174a7fe33b9d40adb64a5ca4c (diff)
downloadscummvm-rg350-53e435d0025a74818e70acbf9b398a6db6515676.tar.gz
scummvm-rg350-53e435d0025a74818e70acbf9b398a6db6515676.tar.bz2
scummvm-rg350-53e435d0025a74818e70acbf9b398a6db6515676.zip
Minor changes.
svn-id: r20055
-rw-r--r--scumm/intern.h3
-rw-r--r--scumm/sound_he.cpp1
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;