GOB: Fix a regression that broke Lost in Time

svn-id: r55760
This commit is contained in:
Sven Hesse 2011-02-03 20:51:59 +00:00
parent 11e2f2226c
commit 80bfecb625

View File

@ -938,7 +938,9 @@ void Inter_v2::o2_setScrollOffset() {
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();