actual struct name

This commit is contained in:
Nikolay Korolev 2021-01-01 13:35:23 +03:00
parent e9288dd005
commit 2f05c64470
2 changed files with 5 additions and 5 deletions

View file

@ -1340,7 +1340,7 @@ void CMissionCleanup::Init()
}
}
CMissionCleanupEntity* CMissionCleanup::FindFree()
cleanup_entity_struct* CMissionCleanup::FindFree()
{
for (int i = 0; i < MAX_CLEANUP; i++){
if (m_sEntities[i].type == CLEANUP_UNUSED)
@ -1352,7 +1352,7 @@ CMissionCleanupEntity* CMissionCleanup::FindFree()
void CMissionCleanup::AddEntityToList(int32 id, uint8 type)
{
CMissionCleanupEntity* pNew = FindFree();
cleanup_entity_struct* pNew = FindFree();
if (!pNew)
return;
pNew->id = id;