aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/draw_v2.cpp
diff options
context:
space:
mode:
authorSven Hesse2011-01-29 22:45:51 +0000
committerSven Hesse2011-01-29 22:45:51 +0000
commitce3d4b5d1b06644a210fd7198373488ad4c8cdf4 (patch)
treee358003d9216b4007e7fe69c08d7aba5d7f9e57d /engines/gob/draw_v2.cpp
parent0c3a33c354c027ee238186794d96c3047d0a4ce2 (diff)
downloadscummvm-rg350-ce3d4b5d1b06644a210fd7198373488ad4c8cdf4.tar.gz
scummvm-rg350-ce3d4b5d1b06644a210fd7198373488ad4c8cdf4.tar.bz2
scummvm-rg350-ce3d4b5d1b06644a210fd7198373488ad4c8cdf4.zip
GOB: Add GobEngine::isCurrentTot()
svn-id: r55630
Diffstat (limited to 'engines/gob/draw_v2.cpp')
-rw-r--r--engines/gob/draw_v2.cpp2
1 files changed, 1 insertions, 1 deletions
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) {