mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-16 13:24:08 +00:00
CAutomobile ctor, car spawner, fixes
This commit is contained in:
parent
26502ee30a
commit
59145cea83
10 changed files with 230 additions and 48 deletions
|
@ -3461,7 +3461,7 @@ CPed::InflictDamage(CEntity* damagedBy, eWeaponType method, float damage, ePedPi
|
|||
case WEAPONTYPE_ROCKETLAUNCHER:
|
||||
case WEAPONTYPE_GRENADE:
|
||||
case WEAPONTYPE_EXPLOSION:
|
||||
if (bCanPointGunAtTarget)
|
||||
if (bExplosionProof)
|
||||
return false;
|
||||
|
||||
if (CGame::nastyGame && !IsPlayer() && !bInVehicle &&
|
||||
|
@ -3483,7 +3483,7 @@ CPed::InflictDamage(CEntity* damagedBy, eWeaponType method, float damage, ePedPi
|
|||
}
|
||||
// fall through
|
||||
case WEAPONTYPE_MOLOTOV:
|
||||
if (m_flagB2)
|
||||
if (bExplosionProof)
|
||||
return false;
|
||||
|
||||
switch (direction) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue