summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/state.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-25 20:26:28 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-25 20:26:28 +0000
commit7cfe05ee417670c6a409cb4beb999be06a01e301 (patch)
tree07ca4ddc0d82aa94d81d45dda0aa28f584d1b02e /crawl-ref/source/state.cc
parent304f59e923fea980d145397d57af5f0979936aef (diff)
downloadcrawl-ref-7cfe05ee417670c6a409cb4beb999be06a01e301.tar.gz
crawl-ref-7cfe05ee417670c6a409cb4beb999be06a01e301.zip
Fix repeated messages when getting HP/MP restored interrupts with
multiple delays queued (e.g., when butchering several items.) However, this fix means that Lua can't suppress the "HP restored" message on the relevant interrupt. If this is a problem it should be changed. Fixes [2494104]. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8749 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/state.cc')
-rw-r--r--crawl-ref/source/state.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/state.cc b/crawl-ref/source/state.cc
index 682119512b..d63fa8f201 100644
--- a/crawl-ref/source/state.cc
+++ b/crawl-ref/source/state.cc
@@ -215,7 +215,7 @@ bool interrupt_cmd_repeat( activity_interrupt_type ai,
return (true);
}
- // If command repitition is being used to immitate the rest command,
+ // 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)
@@ -472,7 +472,7 @@ void game_state::dump(FILE* file)
if (cmd_repeat_count > 0 || cmd_repeat_goal > 0)
{
- fprintf(file, "Doing command repitition:" EOL);
+ fprintf(file, "Doing command repetition:" EOL);
fprintf(file, "cmd_repeat_start:%d, cmd_repeat_count: %d, "
"cmd_repeat_goal:%d" EOL
"prev_cmd_repeat_goal: %d" EOL,