aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2003-08-19 11:11:11 +0000
committerTravis Howell2003-08-19 11:11:11 +0000
commitc284e1b5077a172af52a114ffc658e0f58defe80 (patch)
treef322e4dab6df0bfc82c948ae9607846afeb8884c
parentb6ec652a49d085d356118e276d4a0f8f958e3821 (diff)
downloadscummvm-rg350-c284e1b5077a172af52a114ffc658e0f58defe80.tar.gz
scummvm-rg350-c284e1b5077a172af52a114ffc658e0f58defe80.tar.bz2
scummvm-rg350-c284e1b5077a172af52a114ffc658e0f58defe80.zip
This is only require for v1 maniac
svn-id: r9781
-rw-r--r--scumm/script_v2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index 71a1824fc5..80d6be6be5 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -968,7 +968,7 @@ void Scumm_v2::o2_drawSentence() {
// For V1 games, the engine must compute the preposition.
// In all other Scumm versions, this is done by the sentence script.
- if ((_version == 1) && (VAR(VAR_SENTENCE_PREPOSITION) == 0)) {
+ if ((_gameId == GID_MANIAC && _version == 1) && (VAR(VAR_SENTENCE_PREPOSITION) == 0)) {
if (_verbs[slot].prep == 0xFF) {
byte *ptr = getOBCDFromObject(VAR(VAR_SENTENCE_OBJECT1));
assert(ptr);