linux fixes

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-03 17:59:35 -07:00
parent cbfdf99a9e
commit e28602dbbb
42 changed files with 186 additions and 225 deletions
@@ -916,8 +916,8 @@ void CAnimSceneNode::ApplyCameraKey(ISelectKey& key, SAnimContext& ec)
void CAnimSceneNode::ApplyEventKey(IEventKey& key, [[maybe_unused]] SAnimContext& ec)
{
char funcName[1024];
azstrcpy(funcName, "Event_");
azstrcat(funcName, key.event.c_str());
azstrcpy(funcName, AZ_ARRAY_SIZE(funcName), "Event_");
azstrcat(funcName, AZ_ARRAY_SIZE(funcName), key.event.c_str());
gEnv->pMovieSystem->SendGlobalEvent(funcName);
}