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){