dungeon ceiling (trunk only)
The ceiling on the Plane of Water is always "water above", not "sky"
when inside air bubbles and "water's surface" when outside. Also, support
throwing things upwards on the planes of air and water and when underwater
instead of silently dropping the missile in such cases.
This is mainly groundwork for a tangential bit of a forthcoming
levitation fix.
This commit is contained in:
@@ -214,6 +214,9 @@ register int x, y;
|
||||
what = "temple's ceiling";
|
||||
else if (*in_rooms(x,y,SHOPBASE))
|
||||
what = "shop's ceiling";
|
||||
else if (Is_waterlevel(&u.uz))
|
||||
/* water plane has no surface; its air bubbles aren't below sky */
|
||||
what = "water above";
|
||||
else if (IS_AIR(lev->typ))
|
||||
what = "sky";
|
||||
else if (Underwater)
|
||||
|
||||
Reference in New Issue
Block a user