diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-30 19:08:31 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-30 19:08:31 +0200 |
commit | 09c9e16cb122f2939f60be7565712324897bd5f9 (patch) | |
tree | f39e8cd26654657592d6ba3f4ca96ae08d4f945a /src/control/Script.cpp | |
parent | Merge branch 'miami' of https://github.com/GTAmodding/re3 into miami (diff) | |
download | re3-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.cpp | 6 |
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: |