mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-05-21 02:46:34 +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)
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user