summaryrefslogtreecommitdiff
path: root/src/modules.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules.cc')
-rw-r--r--src/modules.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/modules.cc b/src/modules.cc
index 059e9200..b152fa0b 100644
--- a/src/modules.cc
+++ b/src/modules.cc
@@ -317,8 +317,7 @@ static bool_ dleft(byte c, cptr str, int y, int o)
Term_redraw_section(a - 1, y, a, y);
a = a + 1;
- inkey_scan = TRUE;
- if (inkey()) {
+ if (inkey_scan()) {
return TRUE;
}
}
@@ -351,8 +350,7 @@ static bool_ dright(byte c, cptr str, int y, int o)
Term_redraw_section(a, y, a + 1, y);
a = a - 1;
- inkey_scan = TRUE;
- if (inkey()) {
+ if (inkey_scan()) {
return TRUE;
}
}
@@ -394,7 +392,6 @@ static bool_ show_intro(intro_text intro_texts[])
/* Wait for key */
Term_putch(0, 0, TERM_DARK, 32);
- inkey_scan = FALSE;
inkey();
/* Continue */