diff options
author | Travis Howell | 2003-12-16 02:27:53 +0000 |
---|---|---|
committer | Travis Howell | 2003-12-16 02:27:53 +0000 |
commit | 0b0f5d0b7aa432f8d68d2a13915a8cbdf9de412f (patch) | |
tree | d3c329cc18664ed872805416c818000acc18fcc6 /sword1/sound.cpp | |
parent | 850b679bd7a11c6114804c46152dd132b0a13776 (diff) | |
download | scummvm-rg350-0b0f5d0b7aa432f8d68d2a13915a8cbdf9de412f.tar.gz scummvm-rg350-0b0f5d0b7aa432f8d68d2a13915a8cbdf9de412f.tar.bz2 scummvm-rg350-0b0f5d0b7aa432f8d68d2a13915a8cbdf9de412f.zip |
newlines
svn-id: r11668
Diffstat (limited to 'sword1/sound.cpp')
-rw-r--r-- | sword1/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword1/sound.cpp b/sword1/sound.cpp index be82e44307..2ba8143aa9 100644 --- a/sword1/sound.cpp +++ b/sword1/sound.cpp @@ -61,7 +61,7 @@ void SwordSound::engine(void) { // first of all, add any random sfx to the queue... for (uint16 cnt = 0; cnt < TOTAL_FX_PER_ROOM; cnt++) { uint16 fxNo; - if (fxNo = _roomsFixedFx[SwordLogic::_scriptVars[SCREEN]][cnt]) { + if (fxNo == _roomsFixedFx[SwordLogic::_scriptVars[SCREEN]][cnt]) { if (_fxList[fxNo].type == FX_RANDOM) { if (_rnd.getRandomNumber(_fxList[fxNo].delay) == 0) addToQueue(fxNo); |