]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Items always have a scale, even when healthsize is disabled.
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 15 Mar 2012 10:39:18 +0000 (12:39 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 15 Mar 2012 10:39:18 +0000 (12:39 +0200)
data/qcsrc/server/t_items.qc

index fa7b6f4199689ac058e9dfaa62069a36a8391497..f7468f0e6705624305833462d0d6bf4e0de49e8f 100644 (file)
@@ -388,7 +388,7 @@ void Item_DroppedConsumable_Spawn(entity e)
        item.colormod = e.colormod;\r
 \r
        float scalediff;\r
-       scalediff = cvar("g_healthsize") ? e.scale / e.predator.scale : 1; // the tighter the gut, the greater the velocity\r
+       scalediff = cvar("g_healthsize") ? e.scale / e.predator.scale : e.scale; // the tighter the gut, the greater the velocity\r
        setorigin(item, e.predator.origin);\r
        item.angles_y = e.predator.angles_y;\r
        makevectors(e.predator.v_angle);\r