placeSidewalls now set PPR::TRANSPARENT_WALL priority for walls with alpha

This commit is contained in:
Zeno Rogue 2023-05-01 16:10:25 +02:00
parent 894252caf2
commit 3692ef68b9
1 changed files with 2 additions and 0 deletions

View File

@ -3754,6 +3754,8 @@ EX bool placeSidewall(cell *c, int i, int sidepar, const shiftmatrix& V, color_t
else if(sidepar == SIDE_ASHA) prio = PPR::ASHALLOW;
else if(sidepar == SIDE_BSHA) prio = PPR::BSHALLOW;
else prio = PPR::REDWALL-2+4*(sidepar-SIDE_SLEV);
if((col & 255) < 255) prio = PPR::TRANSPARENT_WALL;
if(cgi.emb->is_in_noniso()) {
draw_shapevec(c, V, qfi.fshape->gpside[sidepar][i], col, prio);