From 465d17db1a3c269eabc4720df44a35cb2a798582 Mon Sep 17 00:00:00 2001 From: Martin Read Date: Sat, 8 Feb 2014 17:13:31 +0000 Subject: [PATCH] Fixing serious bug with try count --- monsters.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monsters.cc b/monsters.cc index 0629cda..082fc7c 100644 --- a/monsters.cc +++ b/monsters.cc @@ -156,7 +156,7 @@ void death_drop(int mon) int pm = mptr->mon_id; Coord c = mptr->pos; Offset delta; - int tryct; + int tryct = 0; while (((lvl.obj_at(c) != NO_OBJ) || (lvl.terrain_at(c) != FLOOR)) && (tryct < 100)) { -- 2.11.0