#include "../../common/constants.qh"
#include "../../common/teams.qh"
#include "../../common/util.qh"
-#include "../../common/weapons/weapons.qh"
+#include "../../common/weapons/all.qh"
float accuracy_byte(float n, float d)
{
}
float accuracy_send(entity to, int sf)
-{
+{SELFPARAM();
int w, f;
entity a;
WriteByte(MSG_ENTITY, ENT_CLIENT_ACCURACY);
float accuracy_isgooddamage(entity attacker, entity targ)
{
- frag_attacker = attacker;
- frag_target = targ;
- float mutator_check = MUTATOR_CALLHOOK(AccuracyTargetValid);
+ float mutator_check = MUTATOR_CALLHOOK(AccuracyTargetValid, attacker, targ);
if(!warmup_stage)
if(targ.deadflag == DEAD_NO)