Merge pull request #170 from Nick007J/master

ped chat fix
This commit is contained in:
Nikolay Korolev 2019-07-28 19:52:30 +03:00 committed by GitHub
commit 17de819ef8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2860,7 +2860,7 @@ CPed::Chat(void)
CAnimBlendAssociation *chatAssoc = RpAnimBlendClumpGetAssociation(GetClump(), ANIM_IDLE_CHAT); CAnimBlendAssociation *chatAssoc = RpAnimBlendClumpGetAssociation(GetClump(), ANIM_IDLE_CHAT);
if (chatAssoc) { if (chatAssoc) {
chatAssoc->blendDelta = -4.0f; chatAssoc->blendDelta = -4.0f;
chatAssoc->flags |= ASSOC_FADEOUTWHENDONE; chatAssoc->flags |= ASSOC_DELETEFADEDOUT;
} }
bIsTalking = false; bIsTalking = false;
} else } else