e.stat_eaten = FALSE;\r
\r
// velocities\r
- vector rand;\r
- rand = (randomvec() - randomvec());\r
- e.velocity = rand * cvar("g_balance_vore_regurgitate_force");\r
- e.eater.velocity += rand * cvar("g_balance_vore_regurgitate_eaterforce");\r
+ local vector oldforward, oldright, oldup;\r
+ oldforward = v_forward;\r
+ oldright = v_right;\r
+ oldup = v_up;\r
+ makevectors(e.eater.v_angle);\r
+ e.velocity = v_forward * cvar("g_balance_vore_regurgitate_force");\r
+ e.eater.velocity += -v_forward * cvar("g_balance_vore_regurgitate_eaterforce");\r
+ v_forward = oldforward;\r
+ v_right = oldright;\r
+ v_up = oldup;\r
\r
PlayerSound(e.eater, playersound_regurgitate, CHAN_PAIN, VOICETYPE_PLAYERSOUND);\r
setanim(e.eater, e.eater.anim_pain1, FALSE, TRUE, TRUE); // looks good for swallowing \ regurgitating\r