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:
@@ -469,7 +469,7 @@ do_attack(struct monst *mtmp)
|
||||
*/
|
||||
boolean foo = (Punished || !rn2(7)
|
||||
|| (is_longworm(mtmp->data) && mtmp->wormno)
|
||||
|| (IS_ROCK(levl[u.ux][u.uy].typ)
|
||||
|| (IS_OBSTRUCTED(levl[u.ux][u.uy].typ)
|
||||
&& !passes_walls(mtmp->data))),
|
||||
inshop = FALSE;
|
||||
char *p;
|
||||
|
||||
Reference in New Issue
Block a user