diff options
author | Sergeanur <s.anureev@yandex.ua> | 2019-10-26 20:24:26 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2019-10-26 20:24:26 +0200 |
commit | 998adfab9046b224f9b6c975a1b2b6d0dad7095f (patch) | |
tree | 9cec6eddefdccd5220c2c1d90eab4fad6ca76d9b /src | |
parent | Merge pull request #256 from erorcun/erorcun (diff) | |
download | re3-998adfab9046b224f9b6c975a1b2b6d0dad7095f.tar re3-998adfab9046b224f9b6c975a1b2b6d0dad7095f.tar.gz re3-998adfab9046b224f9b6c975a1b2b6d0dad7095f.tar.bz2 re3-998adfab9046b224f9b6c975a1b2b6d0dad7095f.tar.lz re3-998adfab9046b224f9b6c975a1b2b6d0dad7095f.tar.xz re3-998adfab9046b224f9b6c975a1b2b6d0dad7095f.tar.zst re3-998adfab9046b224f9b6c975a1b2b6d0dad7095f.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/control/GameLogic.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/control/GameLogic.cpp b/src/control/GameLogic.cpp index 0ed5d5cf..ccba05c9 100644 --- a/src/control/GameLogic.cpp +++ b/src/control/GameLogic.cpp @@ -112,8 +112,8 @@ CGameLogic::Update() CCarCtrl::ClearInterestingVehicleList();
CWorld::ClearExcitingStuffFromArea(pPlayerInfo.GetPos(), 4000.0f, 1);
CRestart::FindClosestHospitalRestartPoint(pPlayerInfo.GetPos(), &vecRestartPos, &fRestartFloat);
- CRestart::OverrideHospitalLevel = false;
- CRestart::OverridePoliceStationLevel = false;
+ CRestart::OverrideHospitalLevel = LEVEL_NONE;
+ CRestart::OverridePoliceStationLevel = LEVEL_NONE;
PassTime(720);
RestorePlayerStuffDuringResurrection(pPlayerInfo.m_pPed, vecRestartPos, fRestartFloat);
SortOutStreamingAndMemory(pPlayerInfo.GetPos());
@@ -183,8 +183,8 @@ CGameLogic::Update() CCarCtrl::ClearInterestingVehicleList();
CWorld::ClearExcitingStuffFromArea(pPlayerInfo.GetPos(), 4000.0f, 1);
CRestart::FindClosestPoliceRestartPoint(pPlayerInfo.GetPos(), &vecRestartPos, &fRestartFloat);
- CRestart::OverrideHospitalLevel = false;
- CRestart::OverridePoliceStationLevel = false;
+ CRestart::OverrideHospitalLevel = LEVEL_NONE;
+ CRestart::OverridePoliceStationLevel = LEVEL_NONE;
PassTime(720);
RestorePlayerStuffDuringResurrection(pPlayerInfo.m_pPed, vecRestartPos, fRestartFloat);
pPlayerInfo.m_pPed->ClearWeapons();
@@ -224,8 +224,8 @@ CGameLogic::Update() CCarCtrl::ClearInterestingVehicleList();
CWorld::ClearExcitingStuffFromArea(pPlayerInfo.GetPos(), 4000.0f, 1);
CRestart::FindClosestPoliceRestartPoint(pPlayerInfo.GetPos(), &vecRestartPos, &fRestartFloat);
- CRestart::OverridePoliceStationLevel = false;
- CRestart::OverrideHospitalLevel = false;
+ CRestart::OverridePoliceStationLevel = LEVEL_NONE;
+ CRestart::OverrideHospitalLevel = LEVEL_NONE;
RestorePlayerStuffDuringResurrection(pPlayerInfo.m_pPed, vecRestartPos, fRestartFloat);
SortOutStreamingAndMemory(pPlayerInfo.GetPos());
TheCamera.m_fCamShakeForce = 0.0f;
|