1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 09:30:35 +00:00

fixed Ocean not displaying at all at low detail

This commit is contained in:
Zeno Rogue 2018-08-22 00:26:50 +02:00
parent 112a38dee9
commit 01a41ba6a4

View File

@ -4164,8 +4164,10 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
// actually draw the floor
if(chasmg == 2) ;
else if(chasmg && wmspatial && detaillevel == 0) {
draw_qfi(c, (*Vdp), darkena(fcol, fd, 0x80), PPR_LAKELEV);
}
else if(chasmg && wmspatial) {
if(detaillevel == 0) return;
int col = c->land == laCocytus ? 0x080808FF : 0x101010FF;