aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2009-11-14 23:01:51 +0000
committerJohannes Schickel2009-11-14 23:01:51 +0000
commitc80456dd17817d87da5ac9c57f65d66b0b6ebc71 (patch)
tree107e63e087f3fb549a5e86d835ee90fa04a72d15 /engines/kyra
parent9bd5e07d90ad5693d96a557d66c919cf3097d34b (diff)
downloadscummvm-rg350-c80456dd17817d87da5ac9c57f65d66b0b6ebc71.tar.gz
scummvm-rg350-c80456dd17817d87da5ac9c57f65d66b0b6ebc71.tar.bz2
scummvm-rg350-c80456dd17817d87da5ac9c57f65d66b0b6ebc71.zip
Fix warning.
svn-id: r45907
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/sound_lok.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/sound_lok.cpp b/engines/kyra/sound_lok.cpp
index 3eeddf1ce3..2a8c2d96c6 100644
--- a/engines/kyra/sound_lok.cpp
+++ b/engines/kyra/sound_lok.cpp
@@ -64,7 +64,7 @@ void KyraEngine_LoK::snd_playWanderScoreViaMap(int command, int restart) {
} else if (_flags.platform == Common::kPlatformPC98) {
if (command == 1) {
_sound->beginFadeOut();
- } else if (command >= 2 && command < 53 || command == 55) {
+ } else if ((command >= 2 && command < 53) || command == 55) {
if (_lastMusicCommand != command)
_sound->playTrack(command);
} else {