This commit is contained in:
Your Name 2020-08-28 16:46:50 -06:00
parent 40629600f7
commit ae968e34df

View File

@ -1726,6 +1726,7 @@ aim()
aimspeed = 1; aimspeed = 1;
usingRemote = self IsUsingRemote(); usingRemote = self IsUsingRemote();
curweap = self getCurrentWeapon();
if (isDefined(self.bot.jav_loc) && !usingRemote) if (isDefined(self.bot.jav_loc) && !usingRemote)
{ {
@ -1733,7 +1734,9 @@ aim()
self thread bot_lookat(lookPos, aimspeed); self thread bot_lookat(lookPos, aimspeed);
self thread pressAds(); self thread pressAds();
self botFire();
if (curweap == "javelin_mp")
self botFire();
continue; continue;
} }
@ -1751,7 +1754,6 @@ aim()
isplay = self.bot.target.isplay; isplay = self.bot.target.isplay;
offset = self.bot.target.offset; offset = self.bot.target.offset;
dist = self.bot.target.dist; dist = self.bot.target.dist;
curweap = self getCurrentWeapon();
eyePos = self getEye(); eyePos = self getEye();
angles = self GetPlayerAngles(); angles = self GetPlayerAngles();
rand = self.bot.target.rand; rand = self.bot.target.rand;