1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

fixed wall shadows in embedded_plane

This commit is contained in:
Zeno Rogue 2022-12-15 10:14:06 +01:00
parent 3b1b263c95
commit 7dac26a85a

View File

@ -669,7 +669,7 @@ int celldrawer::getSnakelevColor(int i, int last) {
void celldrawer::draw_wallshadow() {
if(!noshadow) {
dynamicval<color_t> p(poly_outline, OUTLINE_TRANS);
draw_shapevec(c, V, qfi.fshape->shadow, SHADOW_WALL, PPR::WALLSHADOW);
draw_shapevec(c, V, qfi.fshape->shadow, SHADOW_WALL, GDIM == 3 ? PPR::TRANSPARENT_SHADOW : PPR::WALLSHADOW);
}
}