aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/agi/op_cmd.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/agi/op_cmd.cpp b/engines/agi/op_cmd.cpp
index c30b5b52f7..7897b57c30 100644
--- a/engines/agi/op_cmd.cpp
+++ b/engines/agi/op_cmd.cpp
@@ -1282,6 +1282,7 @@ cmd(accept_input) {
debugC(4, kDebugLevelScripts | kDebugLevelInput, "input normal");
g_agi->newInputMode(INPUT_NORMAL);
game.inputEnabled = true;
+ g_agi->writePrompt();
}
cmd(prevent_input) {
@@ -1373,8 +1374,6 @@ cmd(set_string) {
if (p0 > MAX_STRINGS)
return;
strcpy(game.strings[p0], curLogic->texts[p1 - 1]);
- if (p0 == 0 && game.hasPrompt)
- g_agi->writePrompt();
}
cmd(display) {