From 5c1e21818ae85a97dbf0bb10054af6fca341ccfb Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Mon, 31 Jan 2011 21:02:13 +0000 Subject: GOB: o7_draw0xA4 has something to do with LBMs, though svn-id: r55695 --- engines/gob/inter_v7.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'engines/gob') 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() { -- cgit v1.2.3