mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:07:42 +00:00
Refactor ResId into CAssetId
This commit is contained in:
@@ -26,8 +26,7 @@ void CScriptBeam::Accept(IVisitor& visitor)
|
||||
|
||||
void CScriptBeam::Think(float dt, CStateManager& mgr)
|
||||
{
|
||||
#if 0
|
||||
TCastToPtr<CGameProjectile> proj{mgr.GetObjectById(x154_projectileId)};
|
||||
CPlasmaProjectile* proj = static_cast<CPlasmaProjectile*>(mgr.ObjectById(x154_projectileId));
|
||||
if (proj)
|
||||
{
|
||||
if (proj->GetActive())
|
||||
@@ -35,7 +34,6 @@ void CScriptBeam::Think(float dt, CStateManager& mgr)
|
||||
}
|
||||
else
|
||||
x154_projectileId = kInvalidUniqueId;
|
||||
#endif
|
||||
}
|
||||
|
||||
void CScriptBeam::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& mgr)
|
||||
|
||||
Reference in New Issue
Block a user