another compiler warning

This commit is contained in:
keni
2011-03-05 22:02:49 +00:00
parent 209342be11
commit ce25726d64
+1 -1
View File
@@ -2648,7 +2648,7 @@ struct obj *obj; /* wand or spell */
e = engr_at(u.ux, u.uy); e = engr_at(u.ux, u.uy);
if (!(e && e->engr_type == ENGRAVE)) { if (!(e && e->engr_type == ENGRAVE)) {
if (is_pool(u.ux, u.uy) || is_ice(u.ux, u.uy)) if (is_pool(u.ux, u.uy) || is_ice(u.ux, u.uy))
pline(nothing_happens); pline("%s", nothing_happens);
else else
pline("Blood %ss %s your %s.", pline("Blood %ss %s your %s.",
is_lava(u.ux, u.uy) ? "boil" : "pool", is_lava(u.ux, u.uy) ? "boil" : "pool",