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

the seabed layer now correctly uses the geom3::BOTTOM (was drawn using ground level perspective)

This commit is contained in:
Zeno Rogue 2018-07-17 14:38:32 +02:00
parent 566c466b66
commit 4965fd8a83

View File

@ -4162,7 +4162,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
else if(qfi.fshape == &shCaveFloor)
set_floor(shCaveSeabed);
draw_qfi(c, V, col, PPR_LAKEBOTTOM);
draw_qfi(c, mscale(V, geom3::BOTTOM), col, PPR_LAKEBOTTOM);
int fd0 = fd ? fd-1 : 0;
draw_qfi(c, (*Vdp), darkena(fcol, fd0, 0x80), PPR_LAKELEV);