mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 00:03:11 +01:00
Use correct function call.
SMALL_SCENERY_FLAG_ANIMATED is for SmallScenery not for SmallSceneryElements
This commit is contained in:
@@ -463,7 +463,7 @@ void SmallSceneryElement::SetAge(uint8_t newAge)
|
|||||||
|
|
||||||
void SmallSceneryElement::IncreaseAge(int32_t x, int32_t y)
|
void SmallSceneryElement::IncreaseAge(int32_t x, int32_t y)
|
||||||
{
|
{
|
||||||
if (flags & SMALL_SCENERY_FLAG_ANIMATED)
|
if (IsGhost())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (age < 255)
|
if (age < 255)
|
||||||
|
|||||||
Reference in New Issue
Block a user