1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 02:30:00 +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: default:
break; break;
} }
m_sEntities[i].id = 0; RemoveEntityFromList(m_sEntities[i].id, m_sEntities[i].type);
m_sEntities[i].type = CLEANUP_UNUSED;
m_nCount--;
} }
#ifdef SECUROM #ifdef SECUROM
if ((myrand() & 3) == 2){ if ((myrand() & 3) == 2){