mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-11 19:54:07 +00:00
fixed get_spatial_info for cellUnstable
This commit is contained in:
parent
5db430bdcf
commit
fd7c1b0d25
@ -348,7 +348,7 @@ EX bool highwall(cell *c) {
|
|||||||
EX spatial_info get_spatial_info(cell *c) {
|
EX spatial_info get_spatial_info(cell *c) {
|
||||||
#define F(x) Flag((int) SIDE::x)
|
#define F(x) Flag((int) SIDE::x)
|
||||||
if(cellUnstable(c))
|
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)
|
if(c->wall == waChasm || c->wall == waInvisibleFloor)
|
||||||
return spatial_info{SIDE::INFDEEP, SIDE::INFDEEP, 0};
|
return spatial_info{SIDE::INFDEEP, SIDE::INFDEEP, 0};
|
||||||
if(c->wall == waBarrier && wmescher && c->land == laOceanWall)
|
if(c->wall == waBarrier && wmescher && c->land == laOceanWall)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user