summaryrefslogtreecommitdiffstats
path: root/src/core/Fire.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-07-14 23:51:01 +0200
committerSergeanur <s.anureev@yandex.ua>2021-07-14 23:51:01 +0200
commit3377709c4b8d27599918beaa363e0eb40d2099a9 (patch)
tree110127eb9a51737be58f542ac9dd695cc08795bb /src/core/Fire.cpp
parentUpdate GXT (diff)
parentRemove stupid cast (diff)
downloadre3-3377709c4b8d27599918beaa363e0eb40d2099a9.tar
re3-3377709c4b8d27599918beaa363e0eb40d2099a9.tar.gz
re3-3377709c4b8d27599918beaa363e0eb40d2099a9.tar.bz2
re3-3377709c4b8d27599918beaa363e0eb40d2099a9.tar.lz
re3-3377709c4b8d27599918beaa363e0eb40d2099a9.tar.xz
re3-3377709c4b8d27599918beaa363e0eb40d2099a9.tar.zst
re3-3377709c4b8d27599918beaa363e0eb40d2099a9.zip
Diffstat (limited to 'src/core/Fire.cpp')
-rw-r--r--src/core/Fire.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Fire.cpp b/src/core/Fire.cpp
index 8a6db0da..57315b15 100644
--- a/src/core/Fire.cpp
+++ b/src/core/Fire.cpp
@@ -457,7 +457,7 @@ CFireManager::StartScriptFire(const CVector &pos, CEntity *target, float strengt
if (target) {
if (target->IsPed()) {
ped->m_pFire = fire;
- if (target != (CVehicle *)FindPlayerPed()) {
+ if (target != FindPlayerPed()) {
CVector2D pos = target->GetPosition();
ped->SetFlee(pos, 10000);
ped->SetMoveAnim();