View Single Post
Old 06-17-2016, 11:34 PM   #1293
FF_Team
Fortress Forever Staff
 
FF_Team's Avatar
 
Join Date: Nov 1999
Posts Rated Helpful 71 Times
squeek502 commented on issue fortressforever/fortressforever#273 ('Maliciously sabotaged SG explosion damage can kill teammates when friendlyfire is off'):
Seems like this is probably caused because the owner is always set as the attacker and the SG as inflictor in the CTakeDamageInfo in CFFSentryGun::DoExplosionDamage. Should probably set the attacker to the saboteur if the SG is maliciously sabotaged.

Relevant code:
-...
View on Github
FF_Team is offline