mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-29 03:25:39 +00:00
Fix police yelling from empty or destroyed boats
This commit is contained in:
parent
71e0895dc6
commit
a9798d0645
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ CBoat::ProcessControl(void)
|
||||||
m_fBuoyancy *= 0.99f;
|
m_fBuoyancy *= 0.99f;
|
||||||
|
|
||||||
#ifdef FIX_BUGS
|
#ifdef FIX_BUGS
|
||||||
if(FindPlayerPed() && FindPlayerPed()->m_pWanted->GetWantedLevel() > 0 && GetModelIndex() == MI_PREDATOR){
|
if(FindPlayerPed() && FindPlayerPed()->m_pWanted->GetWantedLevel() > 0 && GetModelIndex() == MI_PREDATOR && pDriver && IsPolicePedModel(pDriver->GetModelIndex())) {
|
||||||
#else
|
#else
|
||||||
if(FindPlayerPed()->m_pWanted->GetWantedLevel() > 0 && GetModelIndex() == MI_PREDATOR){
|
if(FindPlayerPed()->m_pWanted->GetWantedLevel() > 0 && GetModelIndex() == MI_PREDATOR){
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue