OSDN Git Service
(root)
/
nethackexpress
/
trunk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
869b743
)
no multi-level fall through
author
unknown
<shira@.(none)>
Mon, 19 Sep 2011 18:46:23 +0000
(
03:46
+0900)
committer
unknown
<shira@.(none)>
Mon, 19 Sep 2011 18:46:23 +0000
(
03:46
+0900)
src/trap.c
patch
|
blob
|
history
diff --git
a/src/trap.c
b/src/trap.c
index
d336276
..
0b7b2a8
100644
(file)
--- 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);