1
0
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:
Matt
2020-12-31 18:43:48 +02:00
parent 5ae54eb9f9
commit efa1db826e
17 changed files with 79 additions and 78 deletions

View File

@@ -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;
}
}