forked from rosebudai/OpenRCT2-Web
Use correct function call.
SMALL_SCENERY_FLAG_ANIMATED is for SmallScenery not for SmallSceneryElements
This commit is contained in:
1 parent
83f7547bf2
commit
47b0c779de
1 file changed
+1
-1
@@ -463,7 +463,7 @@ void SmallSceneryElement::SetAge(uint8_t newAge)
|
||||
|
||||
void SmallSceneryElement::IncreaseAge(int32_t x, int32_t y)
|
||||
{
|
||||
if (flags & SMALL_SCENERY_FLAG_ANIMATED)
|
||||
if (IsGhost())
|
||||
return;
|
||||
|
||||
if (age < 255)
|
||||
|
||||
Reference in new issue
Block a user