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:
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user