Use u_at macro

This commit is contained in:
Pasi Kallinen
2022-02-23 20:28:35 +02:00
parent 2635c60280
commit 8e91320d2f
40 changed files with 126 additions and 130 deletions

View File

@@ -1757,7 +1757,7 @@ seffect_fire(struct obj **sobjp)
cc.y = u.uy;
}
}
if (cc.x == u.ux && cc.y == u.uy) {
if (u_at(cc.x, cc.y)) {
pline_The("scroll erupts in a tower of flame!");
iflags.last_msg = PLNMSG_TOWER_OF_FLAME; /* for explode() */
burn_away_slime();