mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-11 01:38:18 +08:00
actual struct name
This commit is contained in:
1 parent
e9288dd005
commit
2f05c64470
2 files changed
+5
-5
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user