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 | |
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')
-rw-r--r-- | sword1/debug.cpp | 2 | ||||
-rw-r--r-- | sword1/sound.cpp | 2 | ||||
-rw-r--r-- | sword1/sword1.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sword1/debug.cpp b/sword1/debug.cpp index 66b8dd927a..3f55a83c89 100644 --- a/sword1/debug.cpp +++ b/sword1/debug.cpp @@ -111,4 +111,4 @@ const char SwordDebug::_mCodeNames[100][35] = { "fnGreen", "fnPurple", "fnBlack" -};
\ No newline at end of file +}; 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); diff --git a/sword1/sword1.h b/sword1/sword1.h index a59fe70c92..52ba49cc2a 100644 --- a/sword1/sword1.h +++ b/sword1/sword1.h @@ -90,4 +90,4 @@ private: SwordSound *_sound; SwordMenu *_menu; SwordMusic *_music; -};
\ No newline at end of file +}; |