Revision | dc29db155ae88307f778c9e582cdca8733f14570 (tree) |
---|---|
Zeit | 2011-09-20 03:46:23 |
Autor | unknown <shira@.(no...> |
Commiter | unknown |
no multi-level fall through
@@ -330,9 +330,7 @@ boolean td; /* td == TRUE : trap door or hole */ | ||
330 | 330 | /* KMH -- You can't escape the Sokoban level traps */ |
331 | 331 | if(Blind && Levitation && !In_sokoban(&u.uz)) return; |
332 | 332 | |
333 | - do { | |
334 | - newlevel++; | |
335 | - } while(!rn2(4) && newlevel < dunlevs_in_dungeon(&u.uz)); | |
333 | + newlevel++; | |
336 | 334 | |
337 | 335 | if(td) { |
338 | 336 | struct trap *t=t_at(u.ux,u.uy); |