1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-05-11 03:34:07 +00:00

fixed get_spatial_info for cellUnstable

This commit is contained in:
Zeno Rogue 2025-04-29 10:28:39 +02:00
parent 5db430bdcf
commit fd7c1b0d25

View File

@ -348,7 +348,7 @@ EX bool highwall(cell *c) {
EX spatial_info get_spatial_info(cell *c) {
#define F(x) Flag((int) SIDE::x)
if(cellUnstable(c))
return spatial_info{SIDE::INFDEEP, SIDE::INFDEEP, 0};
return spatial_info{SIDE::FLOOR, SIDE::FLOOR, 0};
if(c->wall == waChasm || c->wall == waInvisibleFloor)
return spatial_info{SIDE::INFDEEP, SIDE::INFDEEP, 0};
if(c->wall == waBarrier && wmescher && c->land == laOceanWall)