1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-03 18:07:53 +01:00

Fix visual glitch with litter at sloped path

This commit is contained in:
Rik Smeets
2022-09-11 18:30:49 +02:00
committed by GitHub
parent b258298b69
commit b161a46beb
2 changed files with 2 additions and 1 deletions

View File

@@ -188,5 +188,5 @@ void Litter::Paint(paint_session& session, int32_t imageDirection) const
// In the following call to PaintAddImageAsParent, we add 4 (instead of 2) to the
// bound_box_offset_z to make sure litter is drawn on top of railways
PaintAddImageAsParent(session, image_id, { 0, 0, z }, { 4, 4, -1 }, { -4, -4, z + 4 });
PaintAddImageAsParent(session, image_id, { 0, 0, z }, { 5, 5, -1 }, { -4, -4, z + 4 });
}