mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:07:42 +00:00
CScriptColorModulate fixes
This commit is contained in:
@@ -2339,9 +2339,7 @@ void CStateManager::RemoveObject(TUniqueId uid)
|
||||
if (CEntity* ent = GetAllObjectList().GetValidObjectById(uid))
|
||||
{
|
||||
if (ent->GetEditorId() != kInvalidEditorId)
|
||||
{
|
||||
x890_scriptIdMap.erase(ent->GetEditorId());
|
||||
}
|
||||
if (ent->GetAreaIdAlways() != kInvalidAreaId)
|
||||
{
|
||||
CGameArea* area = x850_world->GetArea(ent->GetAreaIdAlways());
|
||||
|
||||
Reference in New Issue
Block a user