summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/acr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index c01606343e..ee535c1371 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -2748,7 +2748,7 @@ static void world_reacts()
if (you.num_turns != -1)
{
you.num_turns++;
- if (env.turns_on_level + 1 > env.turns_on_level)
+ if (env.turns_on_level < INT_MAX)
env.turns_on_level++;
update_turn_count();
}