From ca930a6f9c9086eae6d7ef29c80bd3ae69b1d1a8 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 17 Feb 2018 11:49:43 +1000 Subject: [PATCH] Move DMG_NOWEP to defs.qh to reduce compilation unit madness --- qcsrc/server/defs.qh | 3 +++ qcsrc/server/g_damage.qh | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index d8bc4b027..185a68a85 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -230,6 +230,9 @@ int have_team_spawns_forteams; // if Xth bit is 1 then team X has spawns else it void Damage (entity targ, entity inflictor, entity attacker, float damage, int deathtype, .entity weaponentity, vector hitloc, vector force); +// WEAPONTODO +#define DMG_NOWEP (weaponentities[0]) + float lockteams; float sv_maxidle; diff --git a/qcsrc/server/g_damage.qh b/qcsrc/server/g_damage.qh index 54866348d..4f68c2ea0 100644 --- a/qcsrc/server/g_damage.qh +++ b/qcsrc/server/g_damage.qh @@ -113,6 +113,3 @@ float Fire_AddDamage(entity e, entity o, float d, float t, float dt); void Fire_ApplyDamage(entity e); void Fire_ApplyEffect(entity e); - -// WEAPONTODO -#define DMG_NOWEP (weaponentities[0]) -- 2.39.2