mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-06-28 07:01:49 +00:00
patch airstrike teamswitch exploit
This commit is contained in:
@ -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 ) )
|
||||
|
Reference in New Issue
Block a user