aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
diff options
context:
space:
mode:
authorNicola Mettifogo2007-03-10 21:31:59 +0000
committerNicola Mettifogo2007-03-10 21:31:59 +0000
commit096579ecbcd20e14bb01b2180f295229ba3d3387 (patch)
tree1194bdccbf034ae94e8faae049a7ea87ca9329f6 /engines/parallaction
parent21f4d2f818e686dfdf2ca49f3a86815ded62254e (diff)
downloadscummvm-rg350-096579ecbcd20e14bb01b2180f295229ba3d3387.tar.gz
scummvm-rg350-096579ecbcd20e14bb01b2180f295229ba3d3387.tar.bz2
scummvm-rg350-096579ecbcd20e14bb01b2180f295229ba3d3387.zip
commented nasty hack in the original code
svn-id: r26071
Diffstat (limited to 'engines/parallaction')
-rw-r--r--engines/parallaction/dialogue.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/engines/parallaction/dialogue.cpp b/engines/parallaction/dialogue.cpp
index 27ba38ded0..e4f10a6314 100644
--- a/engines/parallaction/dialogue.cpp
+++ b/engines/parallaction/dialogue.cpp
@@ -223,12 +223,13 @@ void runDialogue(SpeakData *data) {
enterDialogue();
debugC(1, kDebugDialogue, "runDialogue: enterDialogue ok");
-
+/*
+ // the only character which can have a dialogue inside the museum location is Dino
if (!scumm_stricmp(_location, "museum")) {
_vm->_graphics->freeCnv( &_tempFrames );
debugC(1, kDebugDialogue, "runDialogue: special trick for 'museum' location");
}
-
+*/
_vm->_graphics->setFont("comic");
Cnv v6E;
@@ -502,7 +503,10 @@ void runDialogue(SpeakData *data) {
exitDialogue();
debugC(1, kDebugDialogue, "runDialogue: exit dialogue ok");
-
+/*
+ // as mentioned in the comment at the beginning of this routine, the only
+ // character which can have a dialogue inside the museum location is Dino,
+ // that's why this hack (with hardcoded Dino) works
if (!scumm_stricmp(_location, "museum")) {
_vm->_disk->selectArchive("disk1");
_vm->_disk->loadFrames("dino", &_tempFrames);
@@ -511,7 +515,7 @@ void runDialogue(SpeakData *data) {
debugC(1, kDebugDialogue, "runDialogue: special trick for 'museum' location ok");
}
-
+*/
debugC(1, kDebugDialogue, "runDialogue: running zone commands");
runCommands(v34);