mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 06:44:38 +01:00
Refactor invalidation logic to be generic to the callee
This commit is contained in:
@@ -205,7 +205,7 @@ static bool map_animation_invalidate_small_scenery(const CoordsXYZ& loc)
|
||||
peep->ActionFrame = 0;
|
||||
peep->ActionSpriteImageOffset = 0;
|
||||
peep->UpdateCurrentActionSpriteType();
|
||||
peep->Invalidate1();
|
||||
peep->Invalidate();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user