diff options
author | Filippos Karapetis | 2010-11-21 10:31:02 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-11-21 10:31:02 +0000 |
commit | 788598a6899d7252164b1727ccaf1f7eb2d2b1c4 (patch) | |
tree | 60939f99208e1966f0dda060890b028b78cbd3d5 /engines/sci | |
parent | cb2a20cbd05bd8d137eda0adf75609186271255d (diff) | |
download | scummvm-rg350-788598a6899d7252164b1727ccaf1f7eb2d2b1c4.tar.gz scummvm-rg350-788598a6899d7252164b1727ccaf1f7eb2d2b1c4.tar.bz2 scummvm-rg350-788598a6899d7252164b1727ccaf1f7eb2d2b1c4.zip |
SCI: Fixed the "version" console command in SCI1.1 and earlier games
svn-id: r54406
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/console.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp index 7e731bdd35..409abb6298 100644 --- a/engines/sci/console.cpp +++ b/engines/sci/console.cpp @@ -453,7 +453,8 @@ bool Console::cmdGetVersion(int argc, const char **argv) { DebugPrintf("Move count type: %s\n", (_engine->_features->handleMoveCount()) ? "increment" : "ignore"); DebugPrintf("SetCursor type: %s\n", getSciVersionDesc(_engine->_features->detectSetCursorType())); #ifdef ENABLE_SCI32 - DebugPrintf("kString type: %s\n", (_engine->_features->detectSci2StringFunctionType() == kSci2StringFunctionOld) ? "SCI2 (old)" : "SCI2.1 (new)"); + if (getSciVersion() >= SCI_VERSION_2) + DebugPrintf("kString type: %s\n", (_engine->_features->detectSci2StringFunctionType() == kSci2StringFunctionOld) ? "SCI2 (old)" : "SCI2.1 (new)"); #endif DebugPrintf("View type: %s\n", viewTypeDesc[g_sci->getResMan()->getViewType()]); DebugPrintf("Uses palette merging: %s\n", g_sci->_gfxPalette->isMerging() ? "yes" : "no"); |