mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-05-02 18:43:56 +00:00
Fix: don't play emotes on vehicles
This commit is contained in:
parent
630368c89f
commit
1714142b6f
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user