mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-16 04:29:02 +00:00
call streaming funcs
This commit is contained in:
parent
a6fe606ce6
commit
537b63acb5
2 changed files with 2 additions and 3 deletions
|
@ -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();
|
||||
|
|
|
@ -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:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue