aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter_v6.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/inter_v6.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/inter_v6.cpp')
-rw-r--r--engines/gob/inter_v6.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/gob/inter_v6.cpp b/engines/gob/inter_v6.cpp
index 3104dc412b..73fc5d18a0 100644
--- a/engines/gob/inter_v6.cpp
+++ b/engines/gob/inter_v6.cpp
@@ -127,8 +127,7 @@ void Inter_v6::o6_playVmdOrMusic() {
// WORKAROUND: When taking the music sheet from Dr. Dramish's car,
// the video that lets the sheet vanish is missing. We'll
// play the one where the sheet is already gone instead.
- if (!strcmp(fileName, "MXRAMPART") &&
- _vm->_game->_curTotFile.equalsIgnoreCase("avt005.tot"))
+ if (!strcmp(fileName, "MXRAMPART") && _vm->isCurrentTot("avt005.tot"))
strcpy(fileName, "PLCOFDR2");
if (!strcmp(fileName, "RIEN")) {