diff options
author | Sven Hesse | 2011-01-31 21:02:13 +0000 |
---|---|---|
committer | Sven Hesse | 2011-01-31 21:02:13 +0000 |
commit | 5c1e21818ae85a97dbf0bb10054af6fca341ccfb (patch) | |
tree | 35268eb31e46213fb835a8e3ae73273a62788672 | |
parent | a3a51efa807843993dc31fdfe5b5b5a6efc321fb (diff) | |
download | scummvm-rg350-5c1e21818ae85a97dbf0bb10054af6fca341ccfb.tar.gz scummvm-rg350-5c1e21818ae85a97dbf0bb10054af6fca341ccfb.tar.bz2 scummvm-rg350-5c1e21818ae85a97dbf0bb10054af6fca341ccfb.zip |
GOB: o7_draw0xA4 has something to do with LBMs, though
svn-id: r55695
-rw-r--r-- | engines/gob/inter_v7.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/gob/inter_v7.cpp b/engines/gob/inter_v7.cpp index 34159bb839..17f2411c8b 100644 --- a/engines/gob/inter_v7.cpp +++ b/engines/gob/inter_v7.cpp @@ -406,12 +406,14 @@ void Inter_v7::o7_setINIValue() { } 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() { |