writing in fog

- if you engrave in a cloud, the surface type should only be "air" if you're
on the air level
This commit is contained in:
cohrs
2002-03-09 07:17:00 +00:00
parent a9835fd23c
commit ec2bdba94c
2 changed files with 3 additions and 1 deletions

View File

@@ -153,7 +153,7 @@ register int x, y;
if ((x == u.ux) && (y == u.uy) && u.uswallow &&
is_animal(u.ustuck->data))
return "maw";
else if (IS_AIR(lev->typ))
else if (IS_AIR(lev->typ) && Is_airlevel(&u.uz))
return "air";
else if (is_pool(x,y))
return "water";