From: unknown Date: Mon, 19 Sep 2011 18:46:23 +0000 (+0900) Subject: no multi-level fall through X-Git-Url: http://git.osdn.net/view?p=nethackexpress%2Ftrunk.git;a=commitdiff_plain;h=dc29db155ae88307f778c9e582cdca8733f14570 no multi-level fall through --- diff --git a/src/trap.c b/src/trap.c index d336276..0b7b2a8 100644 --- a/src/trap.c +++ b/src/trap.c @@ -330,9 +330,7 @@ boolean td; /* td == TRUE : trap door or hole */ /* KMH -- You can't escape the Sokoban level traps */ if(Blind && Levitation && !In_sokoban(&u.uz)) return; - do { - newlevel++; - } while(!rn2(4) && newlevel < dunlevs_in_dungeon(&u.uz)); + newlevel++; if(td) { struct trap *t=t_at(u.ux,u.uy);