mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-06 10:39:58 +00:00
Various fixes
This commit is contained in:
parent
5993c66efb
commit
c22e59abab
3 changed files with 5 additions and 1 deletions
|
@ -2162,7 +2162,7 @@ CWeapon::MakePedsJumpAtShot(CPhysical *shooter, CVector *source, CVector *target
|
|||
&& ped->GetPosition().y > miny && ped->GetPosition().y < maxy
|
||||
&& ped->GetPosition().z > minz && ped->GetPosition().z < maxz )
|
||||
{
|
||||
if ( ped != FindPlayerPed() && (uint8)(ped->m_randomSeed ^ CGeneral::GetRandomNumber()) & 31 )
|
||||
if ( ped != FindPlayerPed() && !((uint8)(ped->m_randomSeed ^ CGeneral::GetRandomNumber()) & 31) )
|
||||
ped->SetEvasiveDive(shooter, 1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue