1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-22 00:24:49 +00:00

fixed tree rendering

This commit is contained in:
Zeno Rogue
2025-04-29 15:44:09 +02:00
parent fd7c1b0d25
commit 23b8dc0aa9
2 changed files with 4 additions and 4 deletions

View File

@@ -368,7 +368,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)};
if(slev == 3)
return spatial_info{SIDE::RED3, SIDE::RED3, F(RED1) | F(RED2) | F(RED3) | F(FLOOR) | F(WATERLEVEL) | F(SHALLOW) | F(DEEP)};
if(highwall(c))
if(highwall(c) && !conegraph(c) && c->wall != waRose)
return spatial_info{SIDE::WALL, SIDE::WALL, F(WALL) | F(FLOOR) | F(WATERLEVEL) | F(SHALLOW) | F(DEEP)};
return spatial_info{SIDE::FLOOR, SIDE::FLOOR, F(FLOOR) | F(WATERLEVEL) | F(SHALLOW) | F(DEEP)};
#undef F