We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d0d931f + 3117211 commit 3572234Copy full SHA for 3572234
1 file changed
src/game/server/swarm/asw_marine.cpp
@@ -1419,6 +1419,11 @@ int CASW_Marine::OnTakeDamage_Alive( const CTakeDamageInfo &info )
1419
Msg( " but all ignored, since it's from a team mate\n" );
1420
return 0;
1421
}
1422
+ //make hornet and smart bomb no longer friendlyfire
1423
+ else if (!ASWDeathmatchMode() && pWeapon && (pWeapon->Classify() == CLASS_ASW_HORNET_BARRAGE || pWeapon->Classify() == CLASS_ASW_SMART_BOMB))
1424
+ {
1425
+ return 0;
1426
+ }
1427
else
1428
{
1429
if ( newInfo.GetDamageType() & DMG_CLUB )
0 commit comments