summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-30 19:08:31 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-30 19:08:31 +0200
commit09c9e16cb122f2939f60be7565712324897bd5f9 (patch)
treef39e8cd26654657592d6ba3f4ca96ae08d4f945a /src/control/Script.cpp
parentMerge branch 'miami' of https://github.com/GTAmodding/re3 into miami (diff)
downloadre3-09c9e16cb122f2939f60be7565712324897bd5f9.tar
re3-09c9e16cb122f2939f60be7565712324897bd5f9.tar.gz
re3-09c9e16cb122f2939f60be7565712324897bd5f9.tar.bz2
re3-09c9e16cb122f2939f60be7565712324897bd5f9.tar.lz
re3-09c9e16cb122f2939f60be7565712324897bd5f9.tar.xz
re3-09c9e16cb122f2939f60be7565712324897bd5f9.tar.zst
re3-09c9e16cb122f2939f60be7565712324897bd5f9.zip
Diffstat (limited to '')
-rw-r--r--src/control/Script.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index f3583cbe..46fdab73 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -272,7 +272,7 @@ void CMissionCleanup::Process()
CPed::nThreatReactionRangeMultiplier = 1;
CPed::nEnterCarRangeMultiplier = 1;
FindPlayerPed()->m_pWanted->m_fCrimeSensitivity = 1.0f;
- //CRoadBlocks::ClearScriptRoadblocks() // TODO(MIAMI)
+ CRoadBlocks::ClearScriptRoadBlocks();
CRouteNode::Initialise();
if (!CWorld::Players[CWorld::PlayerInFocus].m_pRemoteVehicle)
TheCamera.Restore();
@@ -10533,12 +10533,12 @@ int8 CRunningScript::ProcessCommands1200To1299(int32 command)
case COMMAND_CREATE_SCRIPT_ROADBLOCK:
{
CollectParameters(&m_nIp, 6);
- debug("CREATE_SCRIPT_ROADBLOCK not implemented\n"); // TODO(MIAMI)
+ CRoadBlocks::RegisterScriptRoadBlock(*(CVector*)&ScriptParams[0], *(CVector*)&ScriptParams[3]);
return 0;
}
case COMMAND_CLEAR_ALL_SCRIPT_ROADBLOCKS:
{
- debug("CLEAR_ALL_SCRIPT_ROADBLOCKS not implemented\n"); // TODO(MIAMI)
+ CRoadBlocks::ClearScriptRoadBlocks();
return 0;
}
case COMMAND_SET_CHAR_OBJ_WALK_TO_CHAR: