patch airstrike teamswitch exploit

This commit is contained in:
INeedBots
2021-04-14 00:51:08 -06:00
parent 4a13410976
commit 1613497335
5 changed files with 46 additions and 22 deletions

View File

@ -16,8 +16,14 @@
// Jordan Hirsh Dec. 18th 2008
********************************************************************/
beginHarrier( lifeId, startPoint, pos )
beginHarrier( lifeId, startPoint, pos, team )
{
if (isDefined(level.airstrike_teamChangeFix) && level.airstrike_teamChangeFix && level.teambased && isDefined(team))
{
if (!isDefined(self) || self.team != team)
return;
}
heightEnt = GetEnt( "airstrikeheight", "targetname" );
if ( isDefined( heightEnt ) )