]> git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/vore.qc
Remove g_healthsize_vore_pos, since it wasn't working as intended any more, and is...
[voretournament/voretournament.git] / data / qcsrc / server / vore.qc
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