diff --git a/doc/fixes37.0 b/doc/fixes37.0 index af0bdfaaa..ca87a330a 100644 --- a/doc/fixes37.0 +++ b/doc/fixes37.0 @@ -15,6 +15,7 @@ message "your knapsack can't accomodate any more items" when picking stuff up pending; vary the message rather than add more convoluted pickup code function calls made from mapglyph based on dungeon level are now called once per level +allow teleporting onto the vibrating square Fixes to Pre-3.7.0 Problems that Were Exposed Via git Repository diff --git a/src/teleport.c b/src/teleport.c index 50e179cc2..e6c1e120e 100644 --- a/src/teleport.c +++ b/src/teleport.c @@ -260,8 +260,13 @@ teleok(x, y, trapok) register int x, y; boolean trapok; { - if (!trapok && t_at(x, y)) - return FALSE; + if (!trapok) { + /* allow teleportation onto vibrating square, it's not a real trap */ + struct trap *trap = t_at(x, y); + if (trap && trap->ttyp != VIBRATING_SQUARE) { + return FALSE; + } + } if (!goodpos(x, y, &g.youmonst, 0)) return FALSE; if (!tele_jump_ok(u.ux, u.uy, x, y))