summaryrefslogtreecommitdiffstats
path: root/src/core/PlayerInfo.cpp
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2020-04-17 19:30:57 +0200
committerFilip Gawin <filip.gawin@zoho.com>2020-04-17 19:30:57 +0200
commit63951d9b957b30a110f42a03edb4833cbbaf380e (patch)
tree8402ea533b91a216a1dfecd865d6d86a443bc74f /src/core/PlayerInfo.cpp
parentUpdate README.md (diff)
downloadre3-63951d9b957b30a110f42a03edb4833cbbaf380e.tar
re3-63951d9b957b30a110f42a03edb4833cbbaf380e.tar.gz
re3-63951d9b957b30a110f42a03edb4833cbbaf380e.tar.bz2
re3-63951d9b957b30a110f42a03edb4833cbbaf380e.tar.lz
re3-63951d9b957b30a110f42a03edb4833cbbaf380e.tar.xz
re3-63951d9b957b30a110f42a03edb4833cbbaf380e.tar.zst
re3-63951d9b957b30a110f42a03edb4833cbbaf380e.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 cfa0cea4..3852f540 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(false);
+ CancelPlayerEnteringCars(nil);
gFireManager.ExtinguishPoint(GetPos(), 4000.0f);
CExplosion::RemoveAllExplosionsInArea(GetPos(), 4000.0f);
CProjectileInfo::RemoveAllProjectiles();