oldup = v_up;\r
\r
makevectors(self.v_angle);\r
- v_forward_z = 0;\r
\r
// In order to allow prey to see each other in the stomach, we must position each occupant differently,\r
// else all players would overlap in the center. To do this, we run a loop on all players in the same stomach.\r
break;\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 = PL_PREY_VIEW_OFS + (v_forward + origin_apply * cvar("g_vore_neighborprey_distance"));\r
+ origin_apply_x *= v_forward_x; // position depends on the predator's rotation\r
+ origin_apply_y *= v_forward_y; // position depends on the predator's rotation\r
+ head.view_ofs = PL_PREY_VIEW_OFS + origin_apply * cvar("g_vore_neighborprey_distance");\r
position_counter += 1;\r
}\r
}\r