diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-07-14 23:47:11 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-07-14 23:47:11 +0200 |
commit | 4f78733836bf29b7f16d087c0494110e9d96f0a3 (patch) | |
tree | 088067c53deaf1f86ad16def16d1b09bd92414bb /src | |
parent | Merge pull request #1236 from Nopey/fix_nearPeds (diff) | |
download | re3-4f78733836bf29b7f16d087c0494110e9d96f0a3.tar re3-4f78733836bf29b7f16d087c0494110e9d96f0a3.tar.gz re3-4f78733836bf29b7f16d087c0494110e9d96f0a3.tar.bz2 re3-4f78733836bf29b7f16d087c0494110e9d96f0a3.tar.lz re3-4f78733836bf29b7f16d087c0494110e9d96f0a3.tar.xz re3-4f78733836bf29b7f16d087c0494110e9d96f0a3.tar.zst re3-4f78733836bf29b7f16d087c0494110e9d96f0a3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Fire.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Fire.cpp b/src/core/Fire.cpp index 984b21bb..8b184622 100644 --- a/src/core/Fire.cpp +++ b/src/core/Fire.cpp @@ -396,7 +396,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(); |