Cancellation explodes magical traps
This commit is contained in:
+1
-1
@@ -320,7 +320,7 @@ put_lregion_here(
|
||||
It might still fail if there's a dungeon feature here. */
|
||||
struct trap *t = t_at(x, y);
|
||||
|
||||
if (t && t->ttyp != MAGIC_PORTAL && t->ttyp != VIBRATING_SQUARE)
|
||||
if (t && !undestroyable_trap(t->ttyp))
|
||||
deltrap(t);
|
||||
if (bad_location(x, y, nlx, nly, nhx, nhy))
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user