summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-07-02 09:33:45 +0200
committerSergeanur <s.anureev@yandex.ua>2021-07-02 09:33:45 +0200
commit987e09515b214558435331ee220af68f5562f7a8 (patch)
treed8919215fc9e3eded914d28b2a29df2577b4d9fb
parentGameLogic - type fixes (diff)
downloadre3-987e09515b214558435331ee220af68f5562f7a8.tar
re3-987e09515b214558435331ee220af68f5562f7a8.tar.gz
re3-987e09515b214558435331ee220af68f5562f7a8.tar.bz2
re3-987e09515b214558435331ee220af68f5562f7a8.tar.lz
re3-987e09515b214558435331ee220af68f5562f7a8.tar.xz
re3-987e09515b214558435331ee220af68f5562f7a8.tar.zst
re3-987e09515b214558435331ee220af68f5562f7a8.zip
-rw-r--r--src/control/GameLogic.cpp2
1 files changed, 1 insertions, 1 deletions
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();