From a863d72c54719f1a266bae4672a29974fc5ce163 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Thu, 15 Mar 2012 12:39:18 +0200 Subject: [PATCH] Items always have a scale, even when healthsize is disabled. --- data/qcsrc/server/t_items.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/qcsrc/server/t_items.qc b/data/qcsrc/server/t_items.qc index fa7b6f41..f7468f0e 100644 --- a/data/qcsrc/server/t_items.qc +++ b/data/qcsrc/server/t_items.qc @@ -388,7 +388,7 @@ void Item_DroppedConsumable_Spawn(entity e) item.colormod = e.colormod; float scalediff; - scalediff = cvar("g_healthsize") ? e.scale / e.predator.scale : 1; // the tighter the gut, the greater the velocity + scalediff = cvar("g_healthsize") ? e.scale / e.predator.scale : e.scale; // the tighter the gut, the greater the velocity setorigin(item, e.predator.origin); item.angles_y = e.predator.angles_y; makevectors(e.predator.v_angle); -- 2.39.2