From: MirceaKitsune Date: Tue, 2 Aug 2011 12:34:03 +0000 (+0300) Subject: Remove g_vore_neighborprey_scale, as I realized it could break some stuff, and it... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8a733ac60a2f84b7cb27b34b7d75f4937457548e;p=voretournament%2Fvoretournament.git Remove g_vore_neighborprey_scale, as I realized it could break some stuff, and it shouldn't really be needed --- diff --git a/data/defaultVT.cfg b/data/defaultVT.cfg index 5a76b69c..6248ad48 100644 --- a/data/defaultVT.cfg +++ b/data/defaultVT.cfg @@ -1603,7 +1603,6 @@ set g_vore_regurgitatecolor_color_digest "0.3 0.15 0" "the color players will ha set g_vore_regurgitatecolor_fade 0.01 "how quickly the regurgitation color washes off players once they leave the stomach, does not apply to dead bodies" set g_vore_regurgitatecolor_particles 0.75 "players who are dirty from regurgitation generate particles this often, based on the amount of goo they have on them" set g_vore_neighborprey_distance 8 "Distance by which prey inside the same stomach are positioned away from each other. 0 disables seeing neighboring prey" -set g_vore_neighborprey_scale 1 "When neighborprey is enabled, all prey is resized by this amount" set g_vore_swallowmodel_range 100 "Distance by which the swallow model oscillates based on swallow progress" set g_healthsize 100 "Players who are low on health shrink and become smaller, value specifies health at which the player has default size" diff --git a/data/qcsrc/server/cl_client.qc b/data/qcsrc/server/cl_client.qc index 16f5bb76..41fef874 100644 --- a/data/qcsrc/server/cl_client.qc +++ b/data/qcsrc/server/cl_client.qc @@ -2346,12 +2346,6 @@ void SetPlayerSize() self.scale *= 1 - bound(0, self.health / cvar("g_balance_vore_digestion_limit"), 1); } - if(cvar("g_vore_neighborprey_distance") && self.stat_eaten) - { - // resize prey if neighborprey is enabled - self.scale *= cvar("g_vore_neighborprey_scale"); - } - if(self.scale < 0.1) self.scale = 0.1; // stuff breaks if scale is smaller than this }