mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-04 10:44:07 +00:00
fixed some replay bugs
This commit is contained in:
parent
82c40b73ca
commit
01c95378e1
5 changed files with 61 additions and 3 deletions
|
@ -90,7 +90,11 @@ CFire::ProcessFire(void)
|
|||
}
|
||||
}
|
||||
}
|
||||
if (!FindPlayerVehicle() && !FindPlayerPed()->m_pFire && !(FindPlayerPed()->bFireProof)
|
||||
if (!FindPlayerVehicle() &&
|
||||
#ifdef FIX_BUGS
|
||||
FindPlayerPed() &&
|
||||
#endif
|
||||
!FindPlayerPed()->m_pFire && !(FindPlayerPed()->bFireProof)
|
||||
&& ((FindPlayerPed()->GetPosition() - m_vecPos).MagnitudeSqr() < 2.0f)) {
|
||||
FindPlayerPed()->DoStuffToGoOnFire();
|
||||
gFireManager.StartFire(FindPlayerPed(), m_pSource, 0.8f, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue