Fix: don't play emotes on vehicles

This commit is contained in:
Christian Semmler 2026-03-10 18:25:00 -07:00
parent 630368c89f
commit 1714142b6f
No known key found for this signature in database
GPG Key ID: 086DAA1360BEEE5C

View File

@ -232,7 +232,7 @@ void CharacterAnimator::SetIdleAnimId(uint8_t p_idleAnimId, LegoROI* p_roi)
void CharacterAnimator::TriggerEmote(uint8_t p_emoteId, LegoROI* p_roi, bool p_isMoving)
{
if (p_emoteId >= g_emoteAnimCount || !p_roi) {
if (p_emoteId >= g_emoteAnimCount || !p_roi || m_currentVehicleType != VEHICLE_NONE) {
return;
}