OpenRCT2 / objects

Official objects for OpenRCT2
Creative Commons Attribution 4.0 International
24 stars 36 forks source link

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

Closed spacek531 closed 1 year ago

spacek531 commented 1 year ago

image

This should fix https://github.com/OpenRCT2/OpenRCT2/issues/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.