@@ -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
|
pending; vary the message rather than add more convoluted pickup code
|
||||||
function calls made from mapglyph based on dungeon level are now called once
|
function calls made from mapglyph based on dungeon level are now called once
|
||||||
per level
|
per level
|
||||||
|
allow teleporting onto the vibrating square
|
||||||
|
|
||||||
|
|
||||||
Fixes to Pre-3.7.0 Problems that Were Exposed Via git Repository
|
Fixes to Pre-3.7.0 Problems that Were Exposed Via git Repository
|
||||||
|
|||||||
@@ -260,8 +260,13 @@ teleok(x, y, trapok)
|
|||||||
register int x, y;
|
register int x, y;
|
||||||
boolean trapok;
|
boolean trapok;
|
||||||
{
|
{
|
||||||
if (!trapok && t_at(x, y))
|
if (!trapok) {
|
||||||
return FALSE;
|
/* 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))
|
if (!goodpos(x, y, &g.youmonst, 0))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
if (!tele_jump_ok(u.ux, u.uy, x, y))
|
if (!tele_jump_ok(u.ux, u.uy, x, y))
|
||||||
|
|||||||
Reference in New Issue
Block a user