[Scummvm-cvs-logs] SF.net SVN: scummvm:[55760] scummvm/trunk/engines/gob/inter_v2.cpp
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Thu Feb 3 21:52:00 CET 2011
Revision: 55760
http://scummvm.svn.sourceforge.net/scummvm/?rev=55760&view=rev
Author: drmccoy
Date: 2011-02-03 20:51:59 +0000 (Thu, 03 Feb 2011)
Log Message:
-----------
GOB: Fix a regression that broke Lost in Time
Modified Paths:
--------------
scummvm/trunk/engines/gob/inter_v2.cpp
Modified: scummvm/trunk/engines/gob/inter_v2.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter_v2.cpp 2011-02-03 19:47:36 UTC (rev 55759)
+++ scummvm/trunk/engines/gob/inter_v2.cpp 2011-02-03 20:51:59 UTC (rev 55760)
@@ -938,7 +938,9 @@
void Inter_v2::o2_playImd() {
VideoPlayer::Properties props;
- Common::String imd = Common::String(_vm->_game->_script->evalString(), 8);
+ Common::String imd = _vm->_game->_script->evalString();
+ if (imd.size() > 8)
+ imd = Common::String(imd.c_str(), 8);
props.x = _vm->_game->_script->readValExpr();
props.y = _vm->_game->_script->readValExpr();
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