mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
fixed a bug which caused sea buoys to sometimes not appear
This commit is contained in:
parent
6e1ba9e771
commit
47c69694bc
@ -4418,6 +4418,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
|
||||
if(c->land == laOceanWall && wmescher && wmspatial) {
|
||||
const int layers = 2 << detaillevel;
|
||||
dynamicval<const hpcshape*> ds(qfi.shape, &shCircleFloor);
|
||||
dynamicval<transmatrix> dss(qfi.spin, Id);
|
||||
for(int z=1; z<layers; z++) {
|
||||
double zg = zgrad0(-geom3::lake_top, geom3::actual_wall_height(), z, layers);
|
||||
draw_qfi(c, xyzscale(V, zg*(layers-z)/layers, zg),
|
||||
|
Loading…
Reference in New Issue
Block a user