mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Fix #3999. Animated objects correctly apply secondary colours
This commit is contained in:
@@ -239,7 +239,7 @@ void scenery_paint(uint8 direction, int height, rct_map_element* mapElement) {
|
||||
if (entry->small_scenery.flags & SMALL_SCENERY_FLAG_HAS_PRIMARY_COLOUR) {
|
||||
image_id |= ((mapElement->properties.scenery.colour_1 & 0x1F) << 19) | 0x20000000;
|
||||
if (entry->small_scenery.flags & SMALL_SCENERY_FLAG_HAS_SECONDARY_COLOUR) {
|
||||
image_id |= ((mapElement->properties.scenery.colour_1 & 0x1F) << 24) | 0x80000000;
|
||||
image_id |= ((mapElement->properties.scenery.colour_2 & 0x1F) << 24) | 0x80000000;
|
||||
}
|
||||
}
|
||||
if (dword_F64EB0 != 0) {
|
||||
|
||||
Reference in New Issue
Block a user