summaryrefslogtreecommitdiffstats
path: root/src/core/PlayerInfo.cpp
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2020-04-18 12:29:28 +0200
committerFilip Gawin <filip.gawin@zoho.com>2020-04-18 12:29:28 +0200
commitd6314f9564912393134d832b8cc268dd3dbfcbaa (patch)
treeae1f36342a40ecf2baff2523c7b85ba140260e77 /src/core/PlayerInfo.cpp
parentMerge branch 'master' of https://github.com/GTAmodding/re3 (diff)
downloadre3-d6314f9564912393134d832b8cc268dd3dbfcbaa.tar
re3-d6314f9564912393134d832b8cc268dd3dbfcbaa.tar.gz
re3-d6314f9564912393134d832b8cc268dd3dbfcbaa.tar.bz2
re3-d6314f9564912393134d832b8cc268dd3dbfcbaa.tar.lz
re3-d6314f9564912393134d832b8cc268dd3dbfcbaa.tar.xz
re3-d6314f9564912393134d832b8cc268dd3dbfcbaa.tar.zst
re3-d6314f9564912393134d832b8cc268dd3dbfcbaa.zip
Diffstat (limited to 'src/core/PlayerInfo.cpp')
-rw-r--r--src/core/PlayerInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/PlayerInfo.cpp b/src/core/PlayerInfo.cpp
index 3852f540..cfa0cea4 100644
--- a/src/core/PlayerInfo.cpp
+++ b/src/core/PlayerInfo.cpp
@@ -180,7 +180,7 @@ CPlayerInfo::MakePlayerSafe(bool toggle)
m_pPed->bExplosionProof = true;
m_pPed->m_bCanBeDamaged = false;
((CPlayerPed*)m_pPed)->ClearAdrenaline();
- CancelPlayerEnteringCars(nil);
+ CancelPlayerEnteringCars(false);
gFireManager.ExtinguishPoint(GetPos(), 4000.0f);
CExplosion::RemoveAllExplosionsInArea(GetPos(), 4000.0f);
CProjectileInfo::RemoveAllProjectiles();