Use IS_WATERWALL and is_waterwall
This commit is contained in:
+2
-2
@@ -239,8 +239,8 @@ castmu(register struct monst *mtmp,
|
||||
&& !is_undirected_spell(mattk->adtyp, spellnum)) {
|
||||
pline("%s casts a spell at %s!",
|
||||
canseemon(mtmp) ? Monnam(mtmp) : "Something",
|
||||
levl[mtmp->mux][mtmp->muy].typ == WATER ? "empty water"
|
||||
: "thin air");
|
||||
is_waterwall(mtmp->mux,mtmp->muy) ? "empty water"
|
||||
: "thin air");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user