From: Mircea Kitsune Date: Mon, 16 Jan 2012 20:15:09 +0000 (+0200) Subject: Add a TODO of my own for the future X-Git-Tag: xonotic-v0.6.0~110^2^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2688900d166aafad3060106b722f6421b09a8d30;p=xonotic%2Fxonotic-data.pk3dir.git Add a TODO of my own for the future --- diff --git a/qcsrc/client/damage.qc b/qcsrc/client/damage.qc index e1c5c888a..a2e280e06 100644 --- a/qcsrc/client/damage.qc +++ b/qcsrc/client/damage.qc @@ -63,6 +63,7 @@ void DamageEffect(vector hitorg, float dmg, float type, float specnum) gettaginfo(self, nearestbone); // set gettaginfo_name // return if we reached our damage effect limit or damages are disabled + // TODO: it would be better if the oldest damage was removed instead of not adding a new one if(nearestbone) { if(self.total_damages >= autocvar_cl_damageeffect_bones)