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

mission cleanup fix

This commit is contained in:
Nikolay Korolev 2021-01-23 23:17:41 +03:00
parent de32fbe75e
commit 4e477a17b2

View file

@ -1866,9 +1866,7 @@ void CMissionCleanup::Process()
default:
break;
}
m_sEntities[i].id = 0;
m_sEntities[i].type = CLEANUP_UNUSED;
m_nCount--;
RemoveEntityFromList(m_sEntities[i].id, m_sEntities[i].type);
}
#ifdef SECUROM
if ((myrand() & 3) == 2){