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

Proper handling for persistently resident resources

This commit is contained in:
Jack Andersen
2019-03-09 23:37:36 -10:00
parent 2f963b9ce3
commit 52b36795ac
18 changed files with 69 additions and 17 deletions

View File

@@ -408,6 +408,9 @@ CSpacePirate::CSpacePirate(TUniqueId uid, std::string_view name, const CEntityIn
else if (GetDamageVulnerability()->WeaponHurts(CWeaponMode(EWeaponType::Wave), false))
x8cc_trooperColor = zeus::CColor(0.776f, 0.054f, 1.f, 1.f);
}
x568_pirateData.x20_Projectile.Token().Lock();
x568_pirateData.x6c_KneelAttackShot.Token().Lock();
}
void CSpacePirate::Accept(IVisitor& visitor) { visitor.Visit(this); }