summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/state.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-20 00:02:32 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-20 00:02:32 +0000
commit5eca8b99d3e4abdb3f2047f776380b33bcb2fc1c (patch)
treeb47456a45fbe0d81d401636751d71e78241ace8c /crawl-ref/source/state.cc
parentc39a070f13c19c2cf30bb961426bea8c5140c9a5 (diff)
downloadcrawl-ref-5eca8b99d3e4abdb3f2047f776380b33bcb2fc1c.tar.gz
crawl-ref-5eca8b99d3e4abdb3f2047f776380b33bcb2fc1c.zip
Fixed =/== typo.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2153 c06c8d41-db1a-0410-9941-cceddc491573
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 f7bd86bc7d..03cd5817db 100644
--- a/crawl-ref/source/state.cc
+++ b/crawl-ref/source/state.cc
@@ -192,7 +192,7 @@ bool interrupt_cmd_repeat( activity_interrupt_type ai,
{
if (ai == AI_FULL_MP)
crawl_state.cancel_cmd_repeat("Magic restored.");
- else if (ai = AI_FULL_HP)
+ else if (ai == AI_FULL_HP)
crawl_state.cancel_cmd_repeat("HP restored.");
else
crawl_state.cancel_cmd_repeat("Command repetition interrupted.");