summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/state.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-05-23 13:59:57 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-05-23 13:59:57 +0200
commitb42f917ad96d847b14d8aa38c9fe95bb8fcf6c95 (patch)
treee1bf9cc173a01b5c7282d0fe0becfe479ba8a296 /crawl-ref/source/state.cc
parentaf79c560365c3a45662426e4404e74de9efedf17 (diff)
downloadcrawl-ref-b42f917ad96d847b14d8aa38c9fe95bb8fcf6c95.tar.gz
crawl-ref-b42f917ad96d847b14d8aa38c9fe95bb8fcf6c95.zip
Some crude protection against infinite ready() loops.
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 8a2f314346..c8b595024f 100644
--- a/crawl-ref/source/state.cc
+++ b/crawl-ref/source/state.cc
@@ -36,7 +36,7 @@ game_state::game_state()
terminal_resize_handler(NULL), terminal_resize_check(NULL),
doing_prev_cmd_again(false), prev_cmd(CMD_NO_CMD),
repeat_cmd(CMD_NO_CMD),cmd_repeat_started_unsafe(false),
- level_annotation_shown(false),
+ lua_calls_no_turn(0), level_annotation_shown(false),
#ifndef USE_TILE
mlist_targeting(false),
#else