From 987e09515b214558435331ee220af68f5562f7a8 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Fri, 2 Jul 2021 10:33:45 +0300 Subject: [PATCH] Fix use of integer in RemoveBuildingsNotInArea call --- src/control/GameLogic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/control/GameLogic.cpp b/src/control/GameLogic.cpp index e6b47e52..11df7b43 100644 --- a/src/control/GameLogic.cpp +++ b/src/control/GameLogic.cpp @@ -382,7 +382,7 @@ CGameLogic::RestorePlayerStuffDuringResurrection(CPlayerPed *pPlayerPed, CVector CWorld::ClearExcitingStuffFromArea(pos, 4000.0f, true); pPlayerPed->RestoreHeadingRate(); CGame::currArea = AREA_MAIN_MAP; - CStreaming::RemoveBuildingsNotInArea(0); + CStreaming::RemoveBuildingsNotInArea(AREA_MAIN_MAP); TheCamera.SetCameraDirectlyInFrontForFollowPed_CamOnAString(); TheCamera.Restore(); CReferences::RemoveReferencesToPlayer();