X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fturrets%2Fsv_turrets.qh;h=4ae9d97392c7db5dd17e904fb880f606e0667753;hp=8273e54dd1ba31b289a6a39240f8148147f66362;hb=9677a6f1dd8dbca207cf972f8cfa3ca6a8e4820e;hpb=021728329f7609ccd73e24dfda4bd8ef36a482ae diff --git a/qcsrc/common/turrets/sv_turrets.qh b/qcsrc/common/turrets/sv_turrets.qh index 8273e54dd1..4ae9d97392 100644 --- a/qcsrc/common/turrets/sv_turrets.qh +++ b/qcsrc/common/turrets/sv_turrets.qh @@ -70,7 +70,7 @@ void turrets_setframe(entity this, float _frame, float client_only); bool turret_initialize(entity this, Turret tur); // returns true when box overlaps with a given location -bool turret_closetotarget(entity this, vector targ); +bool turret_closetotarget(entity this, vector targ, float range); /// Function to use for target evaluation. usualy turret_targetscore_generic .float(entity _turret, entity _target) turret_score_target;