mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-15 05:41:43 +00:00
fixed Closed Gates in 3D, also improved the pseudo-3D style in 2D
This commit is contained in:
@@ -364,7 +364,7 @@ EX spatial_info get_spatial_info(cell *c) {
|
||||
return spatial_info{SIDE::RED2, SIDE::RED2, F(RED1) | F(RED2) | F(FLOOR) | F(WATERLEVEL) | F(SHALLOW) | F(DEEP), 2};
|
||||
if(slev == 3)
|
||||
return spatial_info{SIDE::RED3, SIDE::RED3, F(RED1) | F(RED2) | F(RED3) | F(FLOOR) | F(WATERLEVEL) | F(SHALLOW) | F(DEEP), 3};
|
||||
if(highwall(c) && !conegraph(c) && c->wall != waRose)
|
||||
if(highwall(c) && !conegraph(c) && c->wall != waRose && c->wall != waClosedGate)
|
||||
return spatial_info{SIDE::WALL, SIDE::WALL, F(WALL) | F(FLOOR) | F(WATERLEVEL) | F(SHALLOW) | F(DEEP), 0};
|
||||
return spatial_info{SIDE::FLOOR, SIDE::FLOOR, F(FLOOR) | F(WATERLEVEL) | F(SHALLOW) | F(DEEP), 0};
|
||||
#undef F
|
||||
|
||||
Reference in New Issue
Block a user