mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-08 16:45:51 +00:00
Fix samus not taking damage from CSpankWeed
This commit is contained in:
parent
0ec9f1f4eb
commit
eafe1d54a6
@ -115,7 +115,7 @@ void CSpankWeed::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CState
|
|||||||
{
|
{
|
||||||
if (TCastToPtr<CPlayer> player = mgr.ObjectById(colAct->GetLastTouchedObject()))
|
if (TCastToPtr<CPlayer> player = mgr.ObjectById(colAct->GetLastTouchedObject()))
|
||||||
{
|
{
|
||||||
if (x420_curDamageRemTime < 0.f && x5b4_ != 4 && x5b4_ != 6)
|
if (x420_curDamageRemTime <= 0.f && x5b4_ != 4 && x5b4_ != 6)
|
||||||
{
|
{
|
||||||
mgr.ApplyDamage(GetUniqueId(), player->GetUniqueId(), GetUniqueId(), GetContactDamage(),
|
mgr.ApplyDamage(GetUniqueId(), player->GetUniqueId(), GetUniqueId(), GetContactDamage(),
|
||||||
CMaterialFilter::MakeIncludeExclude({EMaterialTypes::Solid}, {}), {});
|
CMaterialFilter::MakeIncludeExclude({EMaterialTypes::Solid}, {}), {});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user