call streaming funcs

This commit is contained in:
aap 2020-08-21 00:05:05 +02:00
parent a6fe606ce6
commit 537b63acb5
2 changed files with 2 additions and 3 deletions

View File

@ -372,7 +372,7 @@ CGameLogic::RestorePlayerStuffDuringResurrection(CPlayerPed *pPlayerPed, CVector
CWorld::ClearExcitingStuffFromArea(pos, 4000.0, 1); CWorld::ClearExcitingStuffFromArea(pos, 4000.0, 1);
pPlayerPed->RestoreHeadingRate(); pPlayerPed->RestoreHeadingRate();
CGame::currArea = AREA_MAIN_MAP; CGame::currArea = AREA_MAIN_MAP;
//CStreaming::RemoveBuildingsNotInArea(0); // TODO(MIAMI) CStreaming::RemoveBuildingsNotInArea(0);
TheCamera.SetCameraDirectlyInFrontForFollowPed_CamOnAString(); TheCamera.SetCameraDirectlyInFrontForFollowPed_CamOnAString();
TheCamera.Restore(); TheCamera.Restore();
CReferences::RemoveReferencesToPlayer(); CReferences::RemoveReferencesToPlayer();

View File

@ -12308,8 +12308,7 @@ int8 CRunningScript::ProcessCommands1200To1299(int32 command)
case COMMAND_SET_AREA_VISIBLE: case COMMAND_SET_AREA_VISIBLE:
CollectParameters(&m_nIp, 1); CollectParameters(&m_nIp, 1);
CGame::currArea = ScriptParams[0]; CGame::currArea = ScriptParams[0];
// TODO(MIAMI) !! CStreaming::RemoveBuildingsNotInArea(ScriptParams[0]);
//CStreaming::RemoveBuildingsNotInArea(ScriptParams[0]);
return 0; return 0;
case COMMAND_SET_CUTSCENE_ANIM_TO_LOOP: case COMMAND_SET_CUTSCENE_ANIM_TO_LOOP:
{ {