summaryrefslogtreecommitdiffstats
path: root/src/control/Script3.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-07 16:38:40 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-07 16:38:40 +0100
commit5e10f1fe6ae08fe1b6ec2f52f8d097d54c4b8ab3 (patch)
tree435e3b7d8d0c9b0a8e75bd97a34bbf446c0d9730 /src/control/Script3.cpp
parentsome lcs stuff (diff)
parentfail (diff)
downloadre3-5e10f1fe6ae08fe1b6ec2f52f8d097d54c4b8ab3.tar
re3-5e10f1fe6ae08fe1b6ec2f52f8d097d54c4b8ab3.tar.gz
re3-5e10f1fe6ae08fe1b6ec2f52f8d097d54c4b8ab3.tar.bz2
re3-5e10f1fe6ae08fe1b6ec2f52f8d097d54c4b8ab3.tar.lz
re3-5e10f1fe6ae08fe1b6ec2f52f8d097d54c4b8ab3.tar.xz
re3-5e10f1fe6ae08fe1b6ec2f52f8d097d54c4b8ab3.tar.zst
re3-5e10f1fe6ae08fe1b6ec2f52f8d097d54c4b8ab3.zip
Diffstat (limited to 'src/control/Script3.cpp')
-rw-r--r--src/control/Script3.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/control/Script3.cpp b/src/control/Script3.cpp
index a34c89a9..7476d8de 100644
--- a/src/control/Script3.cpp
+++ b/src/control/Script3.cpp
@@ -325,11 +325,11 @@ int8 CRunningScript::ProcessCommands500To599(int32 command)
CollectParameters(&m_nIp, 1);
UpdateCompareFlag(CGarages::HasCarBeenDroppedOffYet(ScriptParams[0]));
return 0;
+/*
case COMMAND_SET_FREE_BOMBS:
CollectParameters(&m_nIp, 1);
CGarages::SetFreeBombs(ScriptParams[0] != 0);
return 0;
-#ifdef GTA_PS2
case COMMAND_SET_POWERPOINT:
{
CollectParameters(&m_nIp, 7);
@@ -363,8 +363,6 @@ int8 CRunningScript::ProcessCommands500To599(int32 command)
return 0;
}
-#endif // GTA_PS2
- /*
case COMMAND_SET_ALL_TAXI_LIGHTS:
CollectParameters(&m_nIp, 1);
CAutomobile::SetAllTaxiLights(ScriptParams[0] != 0);
@@ -1279,7 +1277,7 @@ int8 CRunningScript::ProcessCommands600To699(int32 command)
ScriptParams[0] = CPools::GetObjectPool()->GetIndex(pObj);
StoreParameters(&m_nIp, 1);
if (m_bIsMissionScript)
- CTheScripts::MissionCleanup.AddEntityToList(ScriptParams[0], CLEANUP_OBJECT);
+ CTheScripts::MissionCleanUp.AddEntityToList(ScriptParams[0], CLEANUP_OBJECT);
return 0;
}
/*
@@ -1343,7 +1341,6 @@ int8 CRunningScript::ProcessCommands600To699(int32 command)
return 0;
}
#endif
- /*
case COMMAND_IS_PLAYER_STOPPED:
{
CollectParameters(&m_nIp, 1);
@@ -1835,7 +1832,7 @@ int8 CRunningScript::ProcessCommands700To799(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);
@@ -1890,7 +1887,7 @@ int8 CRunningScript::ProcessCommands700To799(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);