mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix visual glitch with litter at sloped path
This commit is contained in:
parent
b258298b69
commit
b161a46beb
|
@ -65,6 +65,7 @@
|
|||
- Fix: [#17959] Areas marked for dirty drawing are too large.
|
||||
- Fix: [#17966] Reversed steel trains do not properly import from S4.
|
||||
- Fix: [#18008] Steeplechase S-bends has multiple gaps visible in the tracks.
|
||||
- Fix: [#18009] Visual glitch with litter at edge of sloped path.
|
||||
|
||||
0.4.1 (2022-07-04)
|
||||
------------------------------------------------------------------------
|
||||
|
|
|
@ -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 });
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue