[Scummvm-cvs-logs] SF.net SVN: scummvm:[54406] scummvm/trunk/engines/sci/console.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sun Nov 21 11:31:02 CET 2010


Revision: 54406
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54406&view=rev
Author:   thebluegr
Date:     2010-11-21 10:31:02 +0000 (Sun, 21 Nov 2010)

Log Message:
-----------
SCI: Fixed the "version" console command in SCI1.1 and earlier games

Modified Paths:
--------------
    scummvm/trunk/engines/sci/console.cpp

Modified: scummvm/trunk/engines/sci/console.cpp
===================================================================
--- scummvm/trunk/engines/sci/console.cpp	2010-11-21 05:31:13 UTC (rev 54405)
+++ scummvm/trunk/engines/sci/console.cpp	2010-11-21 10:31:02 UTC (rev 54406)
@@ -453,7 +453,8 @@
 	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");


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list