]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Remove g_vore_neighborprey_scale, as I realized it could break some stuff, and it...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 2 Aug 2011 12:34:03 +0000 (15:34 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 2 Aug 2011 12:34:03 +0000 (15:34 +0300)
data/defaultVT.cfg
data/qcsrc/server/cl_client.qc

index 5a76b69c28a6cda9f5a26976ae3a2b6f891d7fdf..6248ad48b1491cba61e8f485fc8307ee07c716dc 100644 (file)
@@ -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"\r
 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"\r
 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"\r
-set g_vore_neighborprey_scale 1 "When neighborprey is enabled, all prey is resized by this amount"\r
 set g_vore_swallowmodel_range 100 "Distance by which the swallow model oscillates based on swallow progress"\r
 \r
 set g_healthsize 100 "Players who are low on health shrink and become smaller, value specifies health at which the player has default size"\r
index 16f5bb76fa5e7628663f1fa17b17f72d626a16bd..41fef874ff3772bba2ceb51e78079d6200f3d4a5 100644 (file)
@@ -2346,12 +2346,6 @@ void SetPlayerSize()
                self.scale *= 1 - bound(0, self.health / cvar("g_balance_vore_digestion_limit"), 1);\r
        }\r
 \r
-       if(cvar("g_vore_neighborprey_distance") && self.stat_eaten)\r
-       {\r
-               // resize prey if neighborprey is enabled\r
-               self.scale *= cvar("g_vore_neighborprey_scale");\r
-       }\r
-\r
        if(self.scale < 0.1)\r
                self.scale = 0.1; // stuff breaks if scale is smaller than this\r
 }\r