rename IS_ROCK() macro to IS_OBSTRUCTED()
It has included trees since they were added, so give it a more fitting name.
This commit is contained in:
@@ -109,7 +109,7 @@ clear_fcorr(struct monst *grd, boolean forceshow)
|
||||
/* only give encased message if hero is still alive (might get here
|
||||
via paygd() -> mongone() -> grddead() when game is over;
|
||||
died: no message, quit: message) */
|
||||
if (IS_ROCK(levl[u.ux][u.uy].typ) && (Upolyd ? u.mh : u.uhp) > 0
|
||||
if (IS_OBSTRUCTED(levl[u.ux][u.uy].typ) && (Upolyd ? u.mh : u.uhp) > 0
|
||||
&& !silently)
|
||||
You("are encased in rock.");
|
||||
return TRUE;
|
||||
|
||||
Reference in New Issue
Block a user