• R/O
  • HTTP
  • SSH
  • HTTPS

trunk: Commit

メインリポジトリ


Commit MetaInfo

Revisiondc29db155ae88307f778c9e582cdca8733f14570 (tree)
Zeit2011-09-20 03:46:23
Autorunknown <shira@.(no...>
Commiterunknown

Log Message

no multi-level fall through

Ändern Zusammenfassung

Diff

--- a/src/trap.c
+++ b/src/trap.c
@@ -330,9 +330,7 @@ boolean td; /* td == TRUE : trap door or hole */
330330 /* KMH -- You can't escape the Sokoban level traps */
331331 if(Blind && Levitation && !In_sokoban(&u.uz)) return;
332332
333- do {
334- newlevel++;
335- } while(!rn2(4) && newlevel < dunlevs_in_dungeon(&u.uz));
333+ newlevel++;
336334
337335 if(td) {
338336 struct trap *t=t_at(u.ux,u.uy);
Show on old repository browser