[Scummvm-cvs-logs] SF.net SVN: scummvm:[55695] scummvm/trunk/engines/gob/inter_v7.cpp

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Mon Jan 31 22:02:13 CET 2011


Revision: 55695
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55695&view=rev
Author:   drmccoy
Date:     2011-01-31 21:02:13 +0000 (Mon, 31 Jan 2011)

Log Message:
-----------
GOB: o7_draw0xA4 has something to do with LBMs, though

Modified Paths:
--------------
    scummvm/trunk/engines/gob/inter_v7.cpp

Modified: scummvm/trunk/engines/gob/inter_v7.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter_v7.cpp	2011-01-31 21:01:50 UTC (rev 55694)
+++ scummvm/trunk/engines/gob/inter_v7.cpp	2011-01-31 21:02:13 UTC (rev 55695)
@@ -406,12 +406,14 @@
 }
 
 void Inter_v7::o7_draw0xA4() {
-	Common::String str0 = _vm->_game->_script->evalString();
+	Common::String file = _vm->_game->_script->evalString();
+	if (!file.contains('.'))
+		file += ".LBM";
 
 	int16 expr0 = _vm->_game->_script->readValExpr();
 	int16 expr1 = _vm->_game->_script->readValExpr();
 
-	warning("Addy Stub Draw 0xA4: \"%s\", %d, %d", str0.c_str(), expr0, expr1);
+	warning("Addy Stub Draw 0xA4: \"%s\", %d, %d", file.c_str(), expr0, expr1);
 }
 
 void Inter_v7::o7_opendBase() {


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