summaryrefslogtreecommitdiff
path: root/src/birth.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/birth.cc
parent26024b29723d0e0c3e1922003d81b9dfef5463ba (diff)
Remove inkey_scan and inkey_xtra globals
Diffstat (limited to 'src/birth.cc')
-rw-r--r--src/birth.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/birth.cc b/src/birth.cc
index 6f93d571..cc42f758 100644
--- a/src/birth.cc
+++ b/src/birth.cc
@@ -2879,11 +2879,8 @@ static bool_ player_birth_aux_auto()
/* Make sure they see everything */
Term_fresh();
- /* Do not wait for a key */
- inkey_scan = TRUE;
-
/* Check for a keypress */
- if (inkey()) break;
+ if (inkey_scan()) break;
}
}