• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

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);