mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 15:47:43 +00:00
CCollisionActorManager: Remove usage of const_cast
We can just make Destroy() a non-const member function to eliminate the need for this cast.
This commit is contained in:
@@ -30,8 +30,8 @@ public:
|
||||
CCollisionActorManager(CStateManager& mgr, TUniqueId owner, TAreaId area,
|
||||
const std::vector<CJointCollisionDescription>& descs, bool active);
|
||||
|
||||
void Update(float dt, CStateManager& mgr, CCollisionActorManager::EUpdateOptions opts);
|
||||
void Destroy(CStateManager& mgr) const;
|
||||
void Update(float dt, CStateManager& mgr, EUpdateOptions opts);
|
||||
void Destroy(CStateManager& mgr);
|
||||
void SetActive(CStateManager& mgr, bool active);
|
||||
bool GetActive() const { return x12_active; }
|
||||
void AddMaterial(CStateManager& mgr, const CMaterialList& list);
|
||||
|
||||
Reference in New Issue
Block a user