mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-26 01:50:36 +00:00
placeSidewalls now set PPR::TRANSPARENT_WALL priority for walls with alpha
This commit is contained in:
parent
894252caf2
commit
3692ef68b9
@ -3755,6 +3755,8 @@ EX bool placeSidewall(cell *c, int i, int sidepar, const shiftmatrix& V, color_t
|
|||||||
else if(sidepar == SIDE_BSHA) prio = PPR::BSHALLOW;
|
else if(sidepar == SIDE_BSHA) prio = PPR::BSHALLOW;
|
||||||
else prio = PPR::REDWALL-2+4*(sidepar-SIDE_SLEV);
|
else prio = PPR::REDWALL-2+4*(sidepar-SIDE_SLEV);
|
||||||
|
|
||||||
|
if((col & 255) < 255) prio = PPR::TRANSPARENT_WALL;
|
||||||
|
|
||||||
if(cgi.emb->is_in_noniso()) {
|
if(cgi.emb->is_in_noniso()) {
|
||||||
draw_shapevec(c, V, qfi.fshape->gpside[sidepar][i], col, prio);
|
draw_shapevec(c, V, qfi.fshape->gpside[sidepar][i], col, prio);
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user