]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Move DMG_NOWEP to defs.qh to reduce compilation unit madness
authorMario <mario@smbclan.net>
Sat, 17 Feb 2018 01:49:43 +0000 (11:49 +1000)
committerMario <mario@smbclan.net>
Sat, 17 Feb 2018 01:49:43 +0000 (11:49 +1000)
qcsrc/server/defs.qh
qcsrc/server/g_damage.qh

index d8bc4b027e8dd34816fdc38b822a120f4e1978aa..185a68a85341763984db7e8e798b2e4f8cddfe6a 100644 (file)
@@ -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;
index 54866348d44627f8336e083db6993c19672452fa..4f68c2ea00a4d55ff06fa50c6a3d71e8df6c863e 100644 (file)
@@ -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])