aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2010-06-13 22:48:49 +0000
committerFilippos Karapetis2010-06-13 22:48:49 +0000
commitd36f6638c0fd6e5aeaf8d8ac8665d5d2d8a2575f (patch)
treeb36def84b777941e06a3111bbf0d229c1cca01e8 /engines
parentb5ebd40d614ab7b1c2f1408750c09f528b7ae2de (diff)
downloadscummvm-rg350-d36f6638c0fd6e5aeaf8d8ac8665d5d2d8a2575f.tar.gz
scummvm-rg350-d36f6638c0fd6e5aeaf8d8ac8665d5d2d8a2575f.tar.bz2
scummvm-rg350-d36f6638c0fd6e5aeaf8d8ac8665d5d2d8a2575f.zip
Fixed compilation with the old music code
svn-id: r49641
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/console.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index bd597aaa19..6c022bb631 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -852,6 +852,7 @@ bool Console::cmdVerifyScripts(int argc, const char **argv) {
}
bool Console::cmdShowInstruments(int argc, const char **argv) {
+#ifndef USE_OLD_MUSIC_FUNCTIONS
int songNumber = -1;
if (argc == 2)
@@ -1007,6 +1008,7 @@ bool Console::cmdShowInstruments(int argc, const char **argv) {
DebugPrintf("\n\n");
}
+#endif
return true;
}