mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-09-01 22:07:26 +00:00
fix multichop
This commit is contained in:
@@ -726,7 +726,7 @@ chopperWatch()
|
|||||||
|
|
||||||
chopper = level.chopper;
|
chopper = level.chopper;
|
||||||
|
|
||||||
if (false && !isEntity(chopper))
|
if (!isEntity(chopper))
|
||||||
{
|
{
|
||||||
chopper = level.chopper["allies"];
|
chopper = level.chopper["allies"];
|
||||||
if (!isDefined(chopper))
|
if (!isDefined(chopper))
|
||||||
|
@@ -2134,7 +2134,7 @@ bot_killstreak_think()
|
|||||||
case "helicopter_mp":
|
case "helicopter_mp":
|
||||||
chopper = level.chopper;
|
chopper = level.chopper;
|
||||||
|
|
||||||
if (false && isDefined(chopper) && !isEntity(chopper))
|
if (isDefined(chopper) && !isEntity(chopper))
|
||||||
chopper = level.chopper[self.team];
|
chopper = level.chopper[self.team];
|
||||||
|
|
||||||
if (isDefined(chopper))
|
if (isDefined(chopper))
|
||||||
@@ -2296,7 +2296,7 @@ bot_target_vehicle()
|
|||||||
|
|
||||||
chopper = level.chopper;
|
chopper = level.chopper;
|
||||||
|
|
||||||
if(false && isDefined(chopper) && !isEntity(chopper))
|
if(isDefined(chopper) && !isEntity(chopper))
|
||||||
{
|
{
|
||||||
chopper = level.chopper[ level.otherTeam[self.team] ];
|
chopper = level.chopper[ level.otherTeam[self.team] ];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user