summaryrefslogtreecommitdiffstats
path: root/src/control/Script6.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-07 16:36:02 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-07 16:36:02 +0100
commit2173ceae95c49bafded7b014017c8b70ad04d935 (patch)
tree76e290aa3b6691db4243b09effac29c7c19e8abd /src/control/Script6.cpp
parentminor refactoring (diff)
downloadre3-2173ceae95c49bafded7b014017c8b70ad04d935.tar
re3-2173ceae95c49bafded7b014017c8b70ad04d935.tar.gz
re3-2173ceae95c49bafded7b014017c8b70ad04d935.tar.bz2
re3-2173ceae95c49bafded7b014017c8b70ad04d935.tar.lz
re3-2173ceae95c49bafded7b014017c8b70ad04d935.tar.xz
re3-2173ceae95c49bafded7b014017c8b70ad04d935.tar.zst
re3-2173ceae95c49bafded7b014017c8b70ad04d935.zip
Diffstat (limited to 'src/control/Script6.cpp')
-rw-r--r--src/control/Script6.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/control/Script6.cpp b/src/control/Script6.cpp
index 0dbac139..811b537f 100644
--- a/src/control/Script6.cpp
+++ b/src/control/Script6.cpp
@@ -607,7 +607,7 @@ int8 CRunningScript::ProcessCommands1000To1099(int32 command)
ScriptParams[0] = CPools::GetVehiclePool()->GetIndex(pVehicle);
StoreParameters(&m_nIp, 1);
if (m_bIsMissionScript)
- CTheScripts::MissionCleanup.AddEntityToList(ScriptParams[0], CLEANUP_CAR);
+ CTheScripts::MissionCleanUp.AddEntityToList(ScriptParams[0], CLEANUP_CAR);
return 0;
}
case COMMAND_START_BOAT_FOAM_ANIMATION:
@@ -1121,7 +1121,7 @@ int8 CRunningScript::ProcessCommands1100To1199(int32 command)
pPed->bRespondsToThreats = false;
++CPopulation::ms_nTotalMissionPeds;
if (m_bIsMissionScript)
- CTheScripts::MissionCleanup.AddEntityToList(ped_handle, CLEANUP_CHAR);
+ CTheScripts::MissionCleanUp.AddEntityToList(ped_handle, CLEANUP_CHAR);
}
ScriptParams[0] = ped_handle;
StoreParameters(&m_nIp, 1);
@@ -1168,7 +1168,7 @@ int8 CRunningScript::ProcessCommands1100To1199(int32 command)
pPed->bRespondsToThreats = false;
++CPopulation::ms_nTotalMissionPeds;
if (m_bIsMissionScript)
- CTheScripts::MissionCleanup.AddEntityToList(ped_handle, CLEANUP_CHAR);
+ CTheScripts::MissionCleanUp.AddEntityToList(ped_handle, CLEANUP_CHAR);
}
ScriptParams[0] = ped_handle;
StoreParameters(&m_nIp, 1);