From: Samual Lenks Date: Thu, 12 Dec 2013 04:50:01 +0000 (-0500) Subject: Nope, there is no better way to do that X-Git-Tag: xonotic-v0.8.0~152^2~225 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6e24e0582ac0b602666c6b2d7fb78bfdcfdcef7b;p=xonotic%2Fxonotic-data.pk3dir.git Nope, there is no better way to do that --- diff --git a/qcsrc/client/damage.qc b/qcsrc/client/damage.qc index 5d7c12338..3cb9a8c59 100644 --- a/qcsrc/client/damage.qc +++ b/qcsrc/client/damage.qc @@ -100,7 +100,7 @@ void DamageEffect(vector hitorg, float dmg, float type, float specnum) } e = spawn(); - setmodel(e, "null"); // necessary to attach and read origin // samual: FIXME: this is weird, is there some better way to do this? + setmodel(e, "null"); // necessary to attach and read origin setattachment(e, self, gettaginfo_name); // attach to the given bone e.classname = "damage"; e.owner = self;