diff --git a/src/vehicle.cpp b/src/vehicle.cpp index 27aa15e6f3..0fbd4eade6 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -2064,7 +2064,7 @@ void ViewportMapDrawVehicles(DrawPixelInfo *dpi, Viewport *vp) while (v != nullptr) { if (!(v->vehstatus & (VS_HIDDEN | VS_UNCLICKABLE)) && (v->type != VEH_EFFECT)) { - Point pt = RemapCoords(v->x_pos, v->y_pos, v->z_pos); + Point pt = RemapCoords(v->x_pos + v->x_offs, v->y_pos + v->y_offs, v->z_pos); if (pt.x >= l && pt.x < r && pt.y >= t && pt.y < b) { const int pixel_x = UnScaleByZoomLower(pt.x - l, dpi->zoom); const int pixel_y = UnScaleByZoomLower(pt.y - t, dpi->zoom);