aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/script.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/scumm/script.cpp b/engines/scumm/script.cpp
index ded47ad60a..eb0f7bf16a 100644
--- a/engines/scumm/script.cpp
+++ b/engines/scumm/script.cpp
@@ -1171,8 +1171,10 @@ void ScummEngine_v0::checkAndRunSentenceScript() {
SentenceTab &st = _sentence[_sentenceNum - 1];
- if (st.preposition && st.objectB == st.objectA)
+ if (st.preposition && st.objectB == st.objectA) {
+ _sentenceNum--;
return;
+ }
// FIXME: should this be executed?
//_currentScript = 0xFF;