aboutsummaryrefslogtreecommitdiff
path: root/sword1
diff options
context:
space:
mode:
authorTravis Howell2003-12-16 02:27:53 +0000
committerTravis Howell2003-12-16 02:27:53 +0000
commit0b0f5d0b7aa432f8d68d2a13915a8cbdf9de412f (patch)
treed3c329cc18664ed872805416c818000acc18fcc6 /sword1
parent850b679bd7a11c6114804c46152dd132b0a13776 (diff)
downloadscummvm-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.cpp2
-rw-r--r--sword1/sound.cpp2
-rw-r--r--sword1/sword1.h2
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
+};