]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add a note about DMG_NOWEP
authorMario <mario@smbclan.net>
Fri, 16 Feb 2018 13:38:33 +0000 (23:38 +1000)
committerMario <mario@smbclan.net>
Fri, 16 Feb 2018 13:38:33 +0000 (23:38 +1000)
qcsrc/server/g_damage.qh

index 6b1d32e0cbd97443acda710330aadff8365bca57..54866348d44627f8336e083db6993c19672452fa 100644 (file)
@@ -88,6 +88,7 @@ void Freeze (entity targ, float freeze_time, float frozen_type, float show_waypo
 
 void Unfreeze (entity targ);
 
+// NOTE: the .weaponentity parameter can be set to DMG_NOWEP if the attack wasn't caused by a weapon or player
 void Damage (entity targ, entity inflictor, entity attacker, float damage, int deathtype, .entity weaponentity, vector hitloc, vector force);
 
 float RadiusDamage_running;