aboutsummaryrefslogtreecommitdiff
path: root/engines/macventure/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/macventure/script.cpp')
-rw-r--r--engines/macventure/script.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/macventure/script.cpp b/engines/macventure/script.cpp
index 5b86c31e84..794bbdde60 100644
--- a/engines/macventure/script.cpp
+++ b/engines/macventure/script.cpp
@@ -1073,7 +1073,11 @@ void ScriptEngine::opd4RELC(EngineState * state, EngineFrame * frame) {
void ScriptEngine::opd5DLOG(EngineState * state, EngineFrame * frame) {
word txt = state->pop();
- op00NOOP(0xd5);
+ if (_engine->showTextEntry(txt, frame->src, frame->dest)) {
+ state->push(0xFFFF);
+ } else {
+ state->push(0x0000);
+ }
}
void ScriptEngine::opd6ACMD(EngineState * state, EngineFrame * frame) {