} else if (u.dz < 0) {
You("flick a bug off of the %s.", ceiling(u.ux, u.uy));
+ } else if (!u.dz && (IS_WATERWALL(levl[rx][ry].typ)
+ || levl[rx][ry].typ == LAVAWALL)) {
+ You("cause a small splash.");
+ if (levl[rx][ry].typ == LAVAWALL)
+ (void) fire_damage(uwep, FALSE, rx, ry);
+ return ECMD_TIME;
} else if ((!u.dx && !u.dy) || (u.dz > 0)) {
int dam;
kick_steed();
return ECMD_TIME;
}
- if (is_pool_or_lava(u.ux, u.uy)) {
+ if (is_pool_or_lava(u.ux, u.uy)
+ || IS_WATERWALL(levl[rx][ry].typ)
+ || levl[rx][ry].typ == LAVAWALL) {
You("cause a small splash.");
if (is_lava(u.ux, u.uy))
(void) fire_damage(uwep, FALSE, u.ux, u.uy);
} else if (lev->typ == IRONBARS) {
pline("Clang!");
wake_nearby();
+ } else if (IS_WATERWALL(lev->typ)) {
+ pline("Splash!");
+ } else if (lev->typ == LAVAWALL) {
+ pline("Splash!");
+ (void) fire_damage(uwep, FALSE, rx, ry);
} else if (IS_TREE(lev->typ)) {
You("need an axe to cut down a tree.");
} else if (IS_ROCK(lev->typ)) {