aboutsummaryrefslogtreecommitdiff
path: root/scumm/string.cpp
diff options
context:
space:
mode:
authorMax Horn2002-11-03 17:49:10 +0000
committerMax Horn2002-11-03 17:49:10 +0000
commit2bf23dd112f8ad2bdc22ed99ed8609301e4a6875 (patch)
treee04ecfd0309d2d97cc9d7bc8169c4f27c2a7fc3f /scumm/string.cpp
parent9b390fb9c1ec6d7efcee7d05569135bb5c8f54ab (diff)
downloadscummvm-rg350-2bf23dd112f8ad2bdc22ed99ed8609301e4a6875.tar.gz
scummvm-rg350-2bf23dd112f8ad2bdc22ed99ed8609301e4a6875.tar.bz2
scummvm-rg350-2bf23dd112f8ad2bdc22ed99ed8609301e4a6875.zip
restrict unkMessage2 implementation to MonkeyVGA for now
svn-id: r5395
Diffstat (limited to 'scumm/string.cpp')
-rw-r--r--scumm/string.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index 2f983bdbf8..4374548286 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -171,9 +171,13 @@ void Scumm::unkMessage2()
if (_string[3].color == 0)
_string[3].color = 4;
- InfoDialog* dialog = new InfoDialog(_newgui, this, (char*)buf);
- runDialog (dialog);
- delete dialog;
+ if (_gameId == GID_MONKEY_VGA) {
+ InfoDialog* dialog = new InfoDialog(_newgui, this, (char*)buf);
+ runDialog (dialog);
+ delete dialog;
+ } else {
+ printf("unkMessage2: %s\n", buf);
+ }
_messagePtr = tmp;
}