From: Pasi Kallinen Date: Tue, 5 Jan 2016 10:09:40 +0000 (+0200) Subject: Fix bz276,H4172: Fleeing monsters don't actually flee X-Git-Tag: NetHack-3.6.1_RC01~1065^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=861afbb1c95dcb0ca5df9b10bc3f2a5c2d16c5e1;p=nethack Fix bz276,H4172: Fleeing monsters don't actually flee This fix comes via DynaHack by Tung Nguyen. --- diff --git a/src/monmove.c b/src/monmove.c index 8fc93b745..cae22b8b5 100644 --- a/src/monmove.c +++ b/src/monmove.c @@ -271,6 +271,8 @@ boolean fleemsg; } mtmp->mflee = 1; } + /* ignore recently-stepped spaces when made to flee */ + memset(mtmp->mtrack, MTSZ, sizeof(coord)); } STATIC_OVL void