diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-12-15 04:11:02 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-12-15 04:11:02 +0100 |
commit | f76dfaee82c0573518d247f7d5666151ccfed765 (patch) | |
tree | e2a4357d5b50c4648fb1ee88963ec1d95c67e357 /src/core/Fire.cpp | |
parent | Merge pull request #882 from GTAmodding/ShFil119-patch-1 (diff) | |
download | re3-f76dfaee82c0573518d247f7d5666151ccfed765.tar re3-f76dfaee82c0573518d247f7d5666151ccfed765.tar.gz re3-f76dfaee82c0573518d247f7d5666151ccfed765.tar.bz2 re3-f76dfaee82c0573518d247f7d5666151ccfed765.tar.lz re3-f76dfaee82c0573518d247f7d5666151ccfed765.tar.xz re3-f76dfaee82c0573518d247f7d5666151ccfed765.tar.zst re3-f76dfaee82c0573518d247f7d5666151ccfed765.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Fire.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/Fire.cpp b/src/core/Fire.cpp index e1be4194..2c57c066 100644 --- a/src/core/Fire.cpp +++ b/src/core/Fire.cpp @@ -228,7 +228,7 @@ CFireManager::StartFire(CEntity *entityOnFire, CEntity *fleeFrom, float strength ped->bDrawLast = false; ped->SetMoveState(PEDMOVE_SPRINT); ped->SetMoveAnim(); - ped->m_nPedState = PED_ON_FIRE; + ped->SetPedState(PED_ON_FIRE); } if (fleeFrom) { if (ped->m_nPedType == PEDTYPE_COP) { @@ -401,7 +401,7 @@ CFireManager::StartScriptFire(const CVector &pos, CEntity *target, float strengt CVector2D pos = target->GetPosition(); ped->SetFlee(pos, 10000); ped->SetMoveAnim(); - ped->m_nPedState = PED_ON_FIRE; + ped->SetPedState(PED_ON_FIRE); } } else if (target->IsVehicle()) { veh->m_pCarFire = fire; |