X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fbot%2Fdefault%2Faim.qh;h=e7c60758aec2eca3c46fe3c588a8cce4e635551e;hb=cd4892b9fcd32bd4887f0b3bc2503894520945c7;hp=dfe10e265688a8db44aa7c794ed76eb68bd69bd4;hpb=2e2557d4f7fcbf008ec437fa3dfc98ded3c8f488;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/bot/default/aim.qh b/qcsrc/server/bot/default/aim.qh index dfe10e265..e7c60758a 100644 --- a/qcsrc/server/bot/default/aim.qh +++ b/qcsrc/server/bot/default/aim.qh @@ -91,7 +91,7 @@ void bot_lagfunc(entity this, float t, float f1, float f2, entity e1, vector v1, float bot_shouldattack(entity this, entity targ); float bot_aimdir(entity this, vector v, float maxfiredeviation); -bool bot_aim(entity this, float shotspeed, float shotspeedupward, float maxshottime, bool applygravity); +bool bot_aim(entity this, .entity weaponentity, float shotspeed, float shotspeedupward, float maxshottime, bool applygravity); float findtrajectorywithleading(vector org, vector m1, vector m2, entity targ, float shotspeed, float shotspeedupward, float maxtime, float shotdelay, entity ignore); vector bot_shotlead(vector targorigin, vector targvelocity, float shotspeed, float shotdelay);