From: Martin Read Date: Sat, 8 Feb 2014 17:13:31 +0000 (+0000) Subject: Fixing serious bug with try count X-Git-Tag: printmsg-purged~12 X-Git-Url: http://git.blackswordsonics.com/?a=commitdiff_plain;h=465d17db1a3c269eabc4720df44a35cb2a798582;p=victrix-abyssi Fixing serious bug with try count --- 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)) {