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:
nhmall
2024-11-09 11:12:42 -05:00
parent f1743d0e5c
commit 1dbba0f63b
23 changed files with 67 additions and 67 deletions

View File

@@ -3383,7 +3383,7 @@ launch_obj(
const char *bmsg = " as one boulder sets another in motion";
coordxy fx = x + dx, fy = y + dy;
if (!isok(fx, fy) || !dist || IS_ROCK(levl[fx][fy].typ))
if (!isok(fx, fy) || !dist || IS_OBSTRUCTED(levl[fx][fy].typ))
bmsg = " as one boulder hits another";
Soundeffect(se_loud_crash, 80);