aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova/state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/supernova/state.cpp')
-rw-r--r--engines/supernova/state.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/supernova/state.cpp b/engines/supernova/state.cpp
index 7cfd1b4e0e..98230c2fb8 100644
--- a/engines/supernova/state.cpp
+++ b/engines/supernova/state.cpp
@@ -1256,10 +1256,8 @@ bool GameManager::genericInteract(Action verb, Object &obj1, Object &obj2) {
// TODO: Adjust for msec time instead of ticks
do {
_vm->renderBox(91, 99, 138, 9, kColorDarkBlue);
- do {
- edit(input, 91, 100, 5);
- } while ((_key.keycode != Common::KEYCODE_RETURN) &&
- (_key.keycode != Common::KEYCODE_ESCAPE));
+ edit(input, 91, 100, 5);
+
f = false;
if (t[0] == ':') {
t[0] = 0;