w_backoff = -1 * normalize(force);
setorigin(self, w_org + w_backoff * 2); // for sound() calls
- (get_weaponinfo(hitwep)).weapon_func(WR_IMPACTEFFECT);
+ WEP_ACTION(hitwep, WR_IMPACTEFFECT);
}
}
-
-void DamageInfo_Precache()
-{
- float i;
- for(i = WEP_FIRST; i <= WEP_LAST; ++i)
- (get_weaponinfo(i)).weapon_func(WR_PRECACHE);
-}