--- deliantra/server/server/attack.C 2006/08/29 11:58:02 1.6 +++ deliantra/server/server/attack.C 2006/08/30 06:06:27 1.7 @@ -1,6 +1,6 @@ /* * static char *rcsid_attack_c = - * "$Id: attack.C,v 1.6 2006/08/29 11:58:02 elmex Exp $"; + * "$Id: attack.C,v 1.7 2006/08/30 06:06:27 root Exp $"; */ /* CrossFire, A Multiplayer game for X-windows @@ -680,7 +680,7 @@ goto error; if (hitter->current_weapon) - if (INVOKE_OBJECT (ATTACKS, hitter->current_weapon, ARG_OBJECT (hitter), ARG_OBJECT (op))) + if (INVOKE_OBJECT (WEAPON_ATTACK, hitter->current_weapon, ARG_OBJECT (hitter), ARG_OBJECT (op))) return RESULT_INT (0); if (INVOKE_OBJECT (ATTACK, op, ARG_OBJECT (hitter)))