From ce3d4b5d1b06644a210fd7198373488ad4c8cdf4 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Sat, 29 Jan 2011 22:45:51 +0000 Subject: GOB: Add GobEngine::isCurrentTot() svn-id: r55630 --- engines/gob/draw_v2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/gob/draw_v2.cpp') diff --git a/engines/gob/draw_v2.cpp b/engines/gob/draw_v2.cpp index 8bbb5773d7..8ff7fc64a4 100644 --- a/engines/gob/draw_v2.cpp +++ b/engines/gob/draw_v2.cpp @@ -196,7 +196,7 @@ void Draw_v2::printTotText(int16 id) { // WORKAROUND: In the scripts of some Gobliins 2 versions, the dialog text IDs // for Fingus and the mayor are swapped. if ((_vm->getGameType() == kGameTypeGob2) && !_vm->isCD() && - _vm->_game->_curTotFile.equalsIgnoreCase("gob07.tot")) { + _vm->isCurrentTot("gob07.tot")) { if (id == 24) { if (_mayorWorkaroundStatus == 1) { -- cgit v1.2.3