1
0
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:
Jbleezy
2022-01-22 10:43:57 -08:00
parent b027a5fc46
commit 2a5f65984a
2 changed files with 10 additions and 4 deletions

View File

@ -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

View File

@ -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;
}