1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 09:44:52 +01:00

Skip drawing accessories whilst peep is clapping

This commit is contained in:
Aaron van Geffen
2025-09-20 00:11:47 +02:00
committed by GitHub
parent 77d330a004
commit 80badee58d
2 changed files with 3 additions and 2 deletions

View File

@@ -2773,8 +2773,8 @@ void Peep::Paint(PaintSession& session, int32_t imageDirection) const
if (guest == nullptr)
return;
// Can't display any accessories whilst drowning
if (Action == PeepActionType::Drowning)
// Can't display any accessories whilst drowning or clapping
if (Action == PeepActionType::Drowning || Action == PeepActionType::Clap)
return;
// There are only 6 walking frames available for each item,