summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/state.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-10-02 14:48:27 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-10-03 19:04:34 +0200
commit9802b5fc677eb83327eac391cd6f1c12dc33ad3f (patch)
treea0b4f1e185ebf359a94ec0ac8883e86252e7fc62 /crawl-ref/source/state.cc
parentc044a101ff31a934656269262e191fc2b33a833b (diff)
downloadcrawl-ref-9802b5fc677eb83327eac391cd6f1c12dc33ad3f.tar.gz
crawl-ref-9802b5fc677eb83327eac391cd6f1c12dc33ad3f.zip
Rename CMD_SEARCH to CMD_WAIT.
Also, fix the help claiming that the center arrow ("numpad-5") will wait a single turn: it waits 100, with or without NumLock.
Diffstat (limited to 'crawl-ref/source/state.cc')
-rw-r--r--crawl-ref/source/state.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/state.cc b/crawl-ref/source/state.cc
index 8a369f36a4..ccd0ac6203 100644
--- a/crawl-ref/source/state.cc
+++ b/crawl-ref/source/state.cc
@@ -241,7 +241,7 @@ bool interrupt_cmd_repeat(activity_interrupt_type ai,
// If command repetition is being used to imitate the rest command,
// then everything interrupts it.
if (crawl_state.repeat_cmd == CMD_MOVE_NOWHERE
- || crawl_state.repeat_cmd == CMD_SEARCH)
+ || crawl_state.repeat_cmd == CMD_WAIT)
{
if (ai == AI_FULL_MP)
crawl_state.cancel_cmd_repeat("Magic restored.");