summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authorRoman Masanin <36927roma@gmail.com>2020-10-09 19:29:38 +0200
committerRoman Masanin <36927roma@gmail.com>2020-10-09 19:29:38 +0200
commit881db86895dd5427efd3962909214be06270e1ab (patch)
treef86b91e5f1497701991eba2dffc116bd4547d6df /src/control/Script.cpp
parentMerge pull request #750 from erorcun/miami (diff)
downloadre3-881db86895dd5427efd3962909214be06270e1ab.tar
re3-881db86895dd5427efd3962909214be06270e1ab.tar.gz
re3-881db86895dd5427efd3962909214be06270e1ab.tar.bz2
re3-881db86895dd5427efd3962909214be06270e1ab.tar.lz
re3-881db86895dd5427efd3962909214be06270e1ab.tar.xz
re3-881db86895dd5427efd3962909214be06270e1ab.tar.zst
re3-881db86895dd5427efd3962909214be06270e1ab.zip
Diffstat (limited to 'src/control/Script.cpp')
-rw-r--r--src/control/Script.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index aa4e109f..d05a1442 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -1804,9 +1804,8 @@ void CMissionCleanup::Process()
if (!CWorld::Players[CWorld::PlayerInFocus].m_pRemoteVehicle)
TheCamera.Restore();
TheCamera.SetWideScreenOff();
- // TODO(MIAMI)
- //CSpecialFX::bLiftCam = false;
- //CSpecialFX::bVideoCam = false;
+ CSpecialFX::bLiftCam = false;
+ CSpecialFX::bVideoCam = false;
CTimeCycle::StopExtraColour(0);
for (int i = 0; i < MISSION_AUDIO_SLOTS; i++)
DMAudio.ClearMissionAudio(i);
@@ -12395,7 +12394,7 @@ int8 CRunningScript::ProcessCommands1200To1299(int32 command)
case COMMAND_SWITCH_SECURITY_CAMERA:
{
CollectParameters(&m_nIp, 1);
- debug("SWITCH_SECURITY_CAMERA is not implemented\n"); // TODO(MIAMI)
+ CSpecialFX::bVideoCam = ScriptParams[0] != 0;
return 0;
}
//case COMMAND_IS_CHAR_IN_FLYING_VEHICLE:
@@ -12833,7 +12832,7 @@ int8 CRunningScript::ProcessCommands1200To1299(int32 command)
case COMMAND_SWITCH_LIFT_CAMERA:
{
CollectParameters(&m_nIp, 1);
- debug("SWITCH_LIFT_CAMERA is not implemented\n"); // TODO(MIAMI)
+ CSpecialFX::bLiftCam = ScriptParams[0] != 0;
return 0;
}
case COMMAND_CLOSE_ALL_CAR_DOORS: