2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-16 04:17:03 +00:00

All CPatterned functions implemented

This commit is contained in:
Jack Andersen
2018-11-10 17:27:54 -10:00
parent 87e5aea6f5
commit d4bb7d64eb
27 changed files with 1383 additions and 369 deletions

View File

@@ -183,11 +183,11 @@ void CParasite::Think(float dt, CStateManager& mgr)
x742_27_ = false;
}
if (x420_curDamageTime <= 0.f)
if (x420_curDamageRemTime <= 0.f)
{
mgr.ApplyDamage(GetUniqueId(), pl->GetUniqueId(), GetUniqueId(), GetContactDamage(),
CMaterialFilter::MakeIncludeExclude({EMaterialTypes::Solid}, {}), {});
x420_curDamageTime = x424_damageWaitTime;
x420_curDamageRemTime = x424_damageWaitTime;
}
}
}