From: Mario Date: Fri, 16 Feb 2018 13:38:33 +0000 (+1000) Subject: Add a note about DMG_NOWEP X-Git-Tag: xonotic-v0.8.5~2309 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=01dbd1e96bd5c5898fb9508c8fb288c7ee7839eb;p=xonotic%2Fxonotic-data.pk3dir.git Add a note about DMG_NOWEP --- diff --git a/qcsrc/server/g_damage.qh b/qcsrc/server/g_damage.qh index 6b1d32e0c..54866348d 100644 --- a/qcsrc/server/g_damage.qh +++ b/qcsrc/server/g_damage.qh @@ -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;