mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
shadows are actually fixed now
This commit is contained in:
parent
e14b83d400
commit
b186b9d1bb
@ -3122,10 +3122,8 @@ void floorShadow(cell *c, const transmatrix& V, int col) {
|
|||||||
if(qfi.shape) {
|
if(qfi.shape) {
|
||||||
queuepolyat(V * qfi.spin * shadowmulmatrix, *qfi.shape, col, PPR_WALLSHADOW);
|
queuepolyat(V * qfi.spin * shadowmulmatrix, *qfi.shape, col, PPR_WALLSHADOW);
|
||||||
}
|
}
|
||||||
else if(qfi.fshape->is_plain)
|
else
|
||||||
draw_shapevec(c, V, qfi.fshape->shadow, col, PPR_WALLSHADOW);
|
draw_shapevec(c, V, qfi.fshape->shadow, col, PPR_WALLSHADOW);
|
||||||
else
|
|
||||||
draw_qfi(c, V * shadowmulmatrix, col, PPR_WALLSHADOW);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_maywarp_floor(cell *c) {
|
void set_maywarp_floor(cell *c) {
|
||||||
|
Loading…
Reference in New Issue
Block a user