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

fixed stranded boats in 3D

This commit is contained in:
Zeno Rogue 2020-08-01 13:57:39 +02:00
parent 6974567965
commit 44a0f5c1d8

View File

@ -802,8 +802,14 @@ void celldrawer::draw_boat() {
}
if(wmspatial && GDIM == 2)
queuepolyat(mscale(Vboat, (cgi.LAKE+1)/2), cgi.shBoatOuter, outcol, PPR::BOATLEV2);
queuepoly(Vboat, cgi.shBoatOuter, outcol);
queuepoly(Vboat, cgi.shBoatInner, incol);
if(GDIM == 3) {
queuepoly(mscale(Vboat, -0.004), cgi.shBoatOuter, outcol);
queuepoly(mscale(Vboat, -0.008), cgi.shBoatInner, incol);
}
else {
queuepoly(Vboat, cgi.shBoatOuter, outcol);
queuepoly(Vboat, cgi.shBoatInner, incol);
}
}
void celldrawer::draw_grid() {