fixed stranded boats in 3D

This commit is contained in:
Zeno Rogue 2020-08-01 13:57:39 +02:00
parent 6974567965
commit 44a0f5c1d8
1 changed files with 8 additions and 2 deletions

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() {