summaryrefslogtreecommitdiff
path: root/src/wizard2.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2013-12-23 21:20:58 +0100
committerBardur Arantsson <bardur@scientician.net>2014-11-20 01:47:23 +0100
commit923c5b06fae16534385d5ac453253bbe44ed7d1d (patch)
tree2272aad977049946f9c7681f0edca2f1cf896644 /src/wizard2.cc
parent26024b29723d0e0c3e1922003d81b9dfef5463ba (diff)
Remove inkey_scan and inkey_xtra globals
Diffstat (limited to 'src/wizard2.cc')
-rw-r--r--src/wizard2.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/wizard2.cc b/src/wizard2.cc
index b6d6ca2d..6e86542c 100644
--- a/src/wizard2.cc
+++ b/src/wizard2.cc
@@ -968,11 +968,8 @@ static void wiz_statistics(object_type *o_ptr)
/* Output every few rolls */
if ((i < 100) || (i % 100 == 0))
{
- /* Do not wait */
- inkey_scan = TRUE;
-
/* Allow interupt */
- if (inkey())
+ if (inkey_scan())
{
/* Flush */
flush();