From 0b0f5d0b7aa432f8d68d2a13915a8cbdf9de412f Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Tue, 16 Dec 2003 02:27:53 +0000 Subject: newlines svn-id: r11668 --- sword1/debug.cpp | 2 +- sword1/sound.cpp | 2 +- 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 +}; -- cgit v1.2.3