2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-11 03:47:50 +00:00

CScriptCoverPoint: Fix GetAttackDirection

This commit is contained in:
2020-04-11 02:02:28 -04:00
parent bb7e94f304
commit 0339c16e20
4 changed files with 10 additions and 3 deletions

View File

@@ -104,7 +104,7 @@ void CActor::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateMana
else
RemoveMaterial(EMaterialTypes::Scannable, mgr);
if (HasModelData() && x64_modelData->GetAnimationData()) {
if (HasModelData() && x64_modelData->HasAnimData()) {
TAreaId aid = GetAreaId();
x64_modelData->GetAnimationData()->InitializeEffects(mgr, aid, x64_modelData->GetScale());
}