mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-11 23:57:59 -05:00
Turret equipment: fix damaging players
This commit is contained in:
@ -269,8 +269,8 @@
|
||||
* No longer needs to be powered by a Turbine
|
||||
* Gets destroyed after being deployed for 30 seconds
|
||||
* Kills on any round in 1-4 shots (normally does 1200 damage max)
|
||||
* No longer damages players
|
||||
* Fire type changed from burst fire to continuous fire
|
||||
* No longer damages players if they have Juggernog
|
||||
* Fixed a bug where the Turret sounds would continue playing after being picked up
|
||||
|
||||
### Subsurface Resonator
|
||||
|
@ -1931,6 +1931,12 @@ player_damage_override( einflictor, eattacker, idamage, idflags, smeansofdeath,
|
||||
}
|
||||
}
|
||||
|
||||
// fix turrets damaging players
|
||||
if(sweapon == "zombie_bullet_crouch_zm" && smeansofdeath == "MOD_RIFLE_BULLET")
|
||||
{
|
||||
idamage = 0;
|
||||
}
|
||||
|
||||
return idamage;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user