]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Remove g_healthsize_vore_pos, since it wasn't working as intended any more, and is...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 2 Aug 2011 13:11:52 +0000 (16:11 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 2 Aug 2011 13:11:52 +0000 (16:11 +0300)
data/defaultVT.cfg
data/qcsrc/server/vore.qc

index 18ca153647addc6803f032998700c8a85cdcd7b4..6f6b0eb8cdbb9e5898cc9a6052d793772e422cd9 100644 (file)
@@ -1612,7 +1612,6 @@ set g_healthsize_exteriorweapon_scalefactor 1 "Amount by which player size resiz
 set g_healthsize_weapon_scalefactor 1 "Amount by which player size resizes the view weapon model"\r
 set g_healthsize_weapon_scalefactor_pos 10 "Amount by which the view model is moved vertically based on player size"\r
 set g_healthsize_vore_shrinkdeadprey 0.5 "Dead prey will be shrunken by this amount, the closer it gets to the digestion limit"\r
-set g_healthsize_vore_pos 1 "Amount by which view height changes for prey, based on the size difference between them and their predator"\r
 set g_healthsize_min 50 "Player size may not drop below this amount of health"\r
 set g_healthsize_max 150 "Player size may not grow past this amount of health"\r
 \r
index bae2c92cfeeb7b694e33414d767b72c9f04fe93c..b78795e8109735e54fffbe21e671e5fe288b6f5e 100644 (file)
@@ -135,12 +135,6 @@ void Vore_SetPreyPositions(entity pred)
 \r
                        // since prey have their predators set as an aiment, view_ofs will specify the real origin of prey, not just the view offset\r
                        head.view_ofs = origin_apply;\r
-                       head.view_ofs_z *= pred.scale; // stomach center depends on predator scale\r
-\r
-                       // change prey height based on scale\r
-                       float prey_height;\r
-                               prey_height = (head.scale - pred.scale) * cvar("g_healthsize_vore_pos");\r
-                       head.view_ofs_z += prey_height;\r
                }\r
        }\r
 }\r