fixed Closed Gates in 3D, also improved the pseudo-3D style in 2D

This commit is contained in:
Zeno Rogue
2026-07-31 13:20:47 +02:00
parent 4781fc451d
commit c2cefcf550
2 changed files with 15 additions and 2 deletions
+1 -1
View File
@@ -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