diff options
author | aap <aap@papnet.eu> | 2020-08-21 00:05:05 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-08-21 00:05:05 +0200 |
commit | 537b63acb50fcf482f518f11a62c766197f50a20 (patch) | |
tree | 8d5d360ee2a8042a753ed0e598a7f6208f3eb3d5 | |
parent | CStreaming done, hopefully (diff) | |
download | re3-537b63acb50fcf482f518f11a62c766197f50a20.tar re3-537b63acb50fcf482f518f11a62c766197f50a20.tar.gz re3-537b63acb50fcf482f518f11a62c766197f50a20.tar.bz2 re3-537b63acb50fcf482f518f11a62c766197f50a20.tar.lz re3-537b63acb50fcf482f518f11a62c766197f50a20.tar.xz re3-537b63acb50fcf482f518f11a62c766197f50a20.tar.zst re3-537b63acb50fcf482f518f11a62c766197f50a20.zip |
-rw-r--r-- | src/control/GameLogic.cpp | 2 | ||||
-rw-r--r-- | src/control/Script.cpp | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/control/GameLogic.cpp b/src/control/GameLogic.cpp index f4e4fdd4..c5394e7c 100644 --- a/src/control/GameLogic.cpp +++ b/src/control/GameLogic.cpp @@ -372,7 +372,7 @@ CGameLogic::RestorePlayerStuffDuringResurrection(CPlayerPed *pPlayerPed, CVector CWorld::ClearExcitingStuffFromArea(pos, 4000.0, 1); pPlayerPed->RestoreHeadingRate(); CGame::currArea = AREA_MAIN_MAP; - //CStreaming::RemoveBuildingsNotInArea(0); // TODO(MIAMI) + CStreaming::RemoveBuildingsNotInArea(0); TheCamera.SetCameraDirectlyInFrontForFollowPed_CamOnAString(); TheCamera.Restore(); CReferences::RemoveReferencesToPlayer(); diff --git a/src/control/Script.cpp b/src/control/Script.cpp index fb95e834..ea94794b 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -12308,8 +12308,7 @@ int8 CRunningScript::ProcessCommands1200To1299(int32 command) case COMMAND_SET_AREA_VISIBLE: CollectParameters(&m_nIp, 1); CGame::currArea = ScriptParams[0]; - // TODO(MIAMI) !! - //CStreaming::RemoveBuildingsNotInArea(ScriptParams[0]); + CStreaming::RemoveBuildingsNotInArea(ScriptParams[0]); return 0; case COMMAND_SET_CUTSCENE_ANIM_TO_LOOP: { |