From 44a0f5c1d8288575fde4f49dd04bd35357dda07e Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 1 Aug 2020 13:57:39 +0200 Subject: [PATCH] fixed stranded boats in 3D --- celldrawer.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/celldrawer.cpp b/celldrawer.cpp index a1a390cf..2869f04d 100644 --- a/celldrawer.cpp +++ b/celldrawer.cpp @@ -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() {