diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-01 11:35:23 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-01 11:35:23 +0100 |
commit | 2f05c64470a2b04439a07646662ac6afb57901f5 (patch) | |
tree | 4c297e6ab4836f0efd3c82460695c7f72966269e /src/control/Script.cpp | |
parent | CMoneyMessages::RegisterOne v2 (diff) | |
download | re3-2f05c64470a2b04439a07646662ac6afb57901f5.tar re3-2f05c64470a2b04439a07646662ac6afb57901f5.tar.gz re3-2f05c64470a2b04439a07646662ac6afb57901f5.tar.bz2 re3-2f05c64470a2b04439a07646662ac6afb57901f5.tar.lz re3-2f05c64470a2b04439a07646662ac6afb57901f5.tar.xz re3-2f05c64470a2b04439a07646662ac6afb57901f5.tar.zst re3-2f05c64470a2b04439a07646662ac6afb57901f5.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Script.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp index 6aa48d81..9856a8aa 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -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; |