summaryrefslogtreecommitdiffstats
path: root/src/control/Script4.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/Script4.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/Script4.cpp')
-rw-r--r--src/control/Script4.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/control/Script4.cpp b/src/control/Script4.cpp
index 3c794859..d17334a9 100644
--- a/src/control/Script4.cpp
+++ b/src/control/Script4.cpp
@@ -148,7 +148,7 @@ int8 CRunningScript::ProcessCommands800To899(int32 command)
++CCarCtrl::NumMissionCars;
--CCarCtrl::NumRandomCars;
if (m_bIsMissionScript)
- CTheScripts::MissionCleanup.AddEntityToList(handle, CLEANUP_CAR);
+ CTheScripts::MissionCleanUp.AddEntityToList(handle, CLEANUP_CAR);
}
ScriptParams[0] = handle;
StoreParameters(&m_nIp, 1);
@@ -180,7 +180,7 @@ int8 CRunningScript::ProcessCommands800To899(int32 command)
++CCarCtrl::NumMissionCars;
--CCarCtrl::NumRandomCars;
if (m_bIsMissionScript)
- CTheScripts::MissionCleanup.AddEntityToList(handle, CLEANUP_CAR);
+ CTheScripts::MissionCleanUp.AddEntityToList(handle, CLEANUP_CAR);
}
ScriptParams[0] = handle;
StoreParameters(&m_nIp, 1);
@@ -594,7 +594,7 @@ int8 CRunningScript::ProcessCommands800To899(int32 command)
}
}
if (m_bIsMissionScript)
- CTheScripts::MissionCleanup.RemoveEntityFromList(ScriptParams[0], CLEANUP_CHAR);
+ CTheScripts::MissionCleanUp.RemoveEntityFromList(ScriptParams[0], CLEANUP_CHAR);
return 0;
}
case COMMAND_SET_CHAR_STAY_IN_SAME_PLACE:
@@ -1002,7 +1002,7 @@ int8 CRunningScript::ProcessCommands800To899(int32 command)
ScriptParams[0] = CPools::GetPedPool()->GetIndex(ped);
StoreParameters(&m_nIp, 1);
if (m_bIsMissionScript)
- CTheScripts::MissionCleanup.AddEntityToList(ScriptParams[0], CLEANUP_CHAR);
+ CTheScripts::MissionCleanUp.AddEntityToList(ScriptParams[0], CLEANUP_CHAR);
return 0;
}
case COMMAND_SET_CHAR_OBJ_STEAL_ANY_CAR: