]> granicus.if.org Git - nethack/commitdiff
Remove forced trap activation from mhurtle
authorPasi Kallinen <paxed@alt.org>
Thu, 24 Feb 2022 13:18:00 +0000 (15:18 +0200)
committerPasi Kallinen <paxed@alt.org>
Thu, 24 Feb 2022 13:18:00 +0000 (15:18 +0200)
src/dothrow.c

index 498e2742294c8e8b2a6726138e01827291684159..281861b0a2af4e260c4e12328900ac921b286c1f 100644 (file)
@@ -921,9 +921,7 @@ mhurtle_step(genericptr_t arg, int x, int y)
         set_apparxy(mon);
         if (is_waterwall(x, y))
             return FALSE;
-        ++g.force_mintrap;
         res = mintrap(mon);
-        --g.force_mintrap;
         if (res == Trap_Killed_Mon || res == Trap_Caught_Mon)
             return FALSE;
         return TRUE;