]> git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/vore.qc
Several changes aimed at reducing the view poking out of the stomach model for prey
[voretournament/voretournament.git] / data / qcsrc / server / vore.qc
index 96f49a4c5ab2cf662e0ff63a681e22d0f349e576..9d3079f266bcb67a623119ecc0e385dc6611d03f 100644 (file)
@@ -131,7 +131,7 @@ void Vore_SetPreyPositions(entity pred)
                {\r
                        origin_apply_x = PL_PREY_VIEW_OFS_x + crandom() * cvar("g_vore_neighborprey_distance");\r
                        origin_apply_y = PL_PREY_VIEW_OFS_y + crandom() * cvar("g_vore_neighborprey_distance");\r
-                       origin_apply_z = PL_PREY_VIEW_OFS_z;\r
+                       origin_apply_z = PL_PREY_VIEW_OFS_z * pred.scale;\r
 \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