1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-11-06 05:35:55 +00:00

mission cleanup fix

This commit is contained in:
Nikolay Korolev 2021-01-23 23:17:41 +03:00
parent 2d00d9cbe6
commit c4f0b4fb6d

View file

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