Fixup: same for guests...

This commit is contained in:
Aaron van Geffen 2024-04-28 11:52:58 +02:00
parent bd6ea9ca90
commit 60f26caa3e
1 changed files with 2 additions and 2 deletions

View File

@ -863,7 +863,7 @@ namespace OpenRCT2::Scripting
auto& animationGroup = GetPeepAnimation(peep->SpriteType, peep->ActionSpriteType);
peep->ActionSpriteImageOffset = animationGroup.frame_offsets[peep->ActionFrame];
peep->UpdateCurrentActionSpriteType();
peep->UpdateSpriteBoundingBox();
}
uint8_t ScGuest::animationOffset_get() const
@ -887,7 +887,7 @@ namespace OpenRCT2::Scripting
auto length = animationGroup.frame_offsets.size();
peep->ActionFrame = offset % length;
peep->UpdateCurrentActionSpriteType();
peep->UpdateSpriteBoundingBox();
}
uint8_t ScGuest::animationLength_get() const