Fix use of integer in RemoveBuildingsNotInArea call

This commit is contained in:
Sergeanur 2021-07-02 10:33:45 +03:00
parent 9ea3549743
commit 987e09515b

View file

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