diff options
author | Bardur Arantsson <bardur@scientician.net> | 2013-12-23 21:20:58 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2014-11-20 01:47:23 +0100 |
commit | 923c5b06fae16534385d5ac453253bbe44ed7d1d (patch) | |
tree | 2272aad977049946f9c7681f0edca2f1cf896644 /src/modules.cc | |
parent | 26024b29723d0e0c3e1922003d81b9dfef5463ba (diff) |
Remove inkey_scan and inkey_xtra globals
Diffstat (limited to 'src/modules.cc')
-rw-r--r-- | src/modules.cc | 7 |
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 */ |