diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-12-20 15:07:58 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-12-20 15:07:58 +0100 |
commit | fc72ff24d0ca7c8dd011977930b90f7f4afed51f (patch) | |
tree | a1a84de0cfc8d05063b7a9a36468477bbed40892 /src/control/Script.cpp | |
parent | fixes to last HUD commits (diff) | |
download | re3-fc72ff24d0ca7c8dd011977930b90f7f4afed51f.tar re3-fc72ff24d0ca7c8dd011977930b90f7f4afed51f.tar.gz re3-fc72ff24d0ca7c8dd011977930b90f7f4afed51f.tar.bz2 re3-fc72ff24d0ca7c8dd011977930b90f7f4afed51f.tar.lz re3-fc72ff24d0ca7c8dd011977930b90f7f4afed51f.tar.xz re3-fc72ff24d0ca7c8dd011977930b90f7f4afed51f.tar.zst re3-fc72ff24d0ca7c8dd011977930b90f7f4afed51f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Script.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp index 67d2e618..6aa48d81 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -58,7 +58,7 @@ int32 CTheScripts::StoreVehicleIndex; bool CTheScripts::StoreVehicleWasRandom; CRunningScript *CTheScripts::pIdleScripts; CRunningScript *CTheScripts::pActiveScripts; -uint32 CTheScripts::NextFreeCollectiveIndex; +int32 CTheScripts::NextFreeCollectiveIndex; int32 CTheScripts::LastRandomPedId; uint16 CTheScripts::NumberOfUsedObjects; bool CTheScripts::bAlreadyRunningAMissionScript; @@ -1810,8 +1810,8 @@ void CTheScripts::Init() OnAMissionForContactFlag[i] = 0; } for (int i = 0; i < MAX_NUM_COLLECTIVES; i++){ - CollectiveArray[i].index = -1; - CollectiveArray[i].unk_data = 0; + CollectiveArray[i].colIndex = -1; + CollectiveArray[i].pedIndex = 0; } NextFreeCollectiveIndex = 0; LastRandomPedId = -1; |