Skip to content

fix OpenRCT2#19398 invisible paths still cause random sprites to appear#235

Merged
duncanspumpkin merged 2 commits intoOpenRCT2:masterfrom
spacek531:add-invisible-image
Mar 12, 2023
Merged

fix OpenRCT2#19398 invisible paths still cause random sprites to appear#235
duncanspumpkin merged 2 commits intoOpenRCT2:masterfrom
spacek531:add-invisible-image

Conversation

@spacek531
Copy link
Contributor

@spacek531 spacek531 commented Mar 3, 2023

image

This should fix OpenRCT2/OpenRCT2#19398

By definition a path object must have 52 images. One image is the thumbnail, 51 images are for the 51 possible combinations:
https://github.com/OpenRCT2/OpenRCT2/blob/dd624f9bff4ce116a40f121507a426b484cb9412/src/openrct2/paint/tile_element/Paint.Path.cpp#L58-L67

This object currently has 51 images, not 52. I do not know why this bug does not affect certain parks - it should affect all parks.

Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
@duncanspumpkin duncanspumpkin merged commit fc1d6ec into OpenRCT2:master Mar 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

invisible paths still cause random sprites to appear

3 participants