From: MirceaKitsune Date: Thu, 15 Mar 2012 10:39:18 +0000 (+0200) Subject: Items always have a scale, even when healthsize is disabled. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a863d72c54719f1a266bae4672a29974fc5ce163;p=voretournament%2Fvoretournament.git Items always have a scale, even when healthsize is disabled. --- 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);