From ec2bdba94cd04c1899ec7fa3558bfb7fd5356eaa Mon Sep 17 00:00:00 2001 From: cohrs Date: Sat, 9 Mar 2002 07:17:00 +0000 Subject: [PATCH] writing in fog - if you engrave in a cloud, the surface type should only be "air" if you're on the air level --- doc/fixes34.0 | 2 ++ src/engrave.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/fixes34.0 b/doc/fixes34.0 index 6015622c1..32bc97009 100644 --- a/doc/fixes34.0 +++ b/doc/fixes34.0 @@ -453,6 +453,8 @@ potion of polymorph shouldn't be identified if object being dipped into it ends up as the same type of object after polymorphing don't slap against the floor while riding and eating bad food got rid of "nori" (since it doesn't really translate "kelp frond" accurately) +engraving in fog-covered location on in the Wizard quest said you + engraved in air, not dust Platform- and/or Interface-Specific Fixes diff --git a/src/engrave.c b/src/engrave.c index c8840b6bb..cc1014eda 100644 --- a/src/engrave.c +++ b/src/engrave.c @@ -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";