{\r
teamdamage0 = max(attacker.dmg_team, cvar("g_teamdamage_threshold"));\r
attacker.dmg_team = attacker.dmg_team + damage;\r
- if(attacker.dmg_team > teamdamage0 && !g_ca)\r
+ if(attacker.dmg_team > teamdamage0 && !g_ca && deathtype != DEATH_REGURGITATION)\r
mirrordamage = cvar("g_mirrordamage") * (attacker.dmg_team - teamdamage0);\r
mirrorforce = cvar("g_mirrordamage") * vlen(force);\r
if(g_ca)\r
}\r
}\r
}\r
- else\r
+ else if(deathtype != DEATH_REGURGITATION)\r
{\r
if(deathtype != DEATH_FIRE)\r
attacker.typehitsound += 1;\r
\r
- 0.8: Allow free camera rotation in the belly (no pitch bounds)\r
\r
-- 0.7 | 0.8: Don't play the friendly fire damage sound when you are regurgitated by a team mate. Also don't play the "same team" taunt\r
-\r
-- 0.8: But AI: Stop moving if someone is trying to teamheal us (if we can detact who's swallowing)\r
+- 0.8: Bot AI: Stop moving if someone is trying to teamheal us (if we can detact who's swallowing)\r
\r
- 0.8: Fonic helper for speed: Account healthsize in danger detection\r
\r