mission cleanup fix

This commit is contained in:
Nikolay Korolev 2021-01-23 23:17:41 +03:00
parent 2d00d9cbe6
commit c4f0b4fb6d
1 changed files with 1 additions and 1 deletions

View File

@ -2140,7 +2140,7 @@ void CMissionCleanup::Process()
default:
break;
}
RemoveEntityFromList(i, m_sEntities[i].type);
RemoveEntityFromList(m_sEntities[i].id, m_sEntities[i].type);
}
for (int i = 1; i < NUMSTREAMINFO; i++) {
if (CStreaming::IsScriptOwnedModel(i))