void AddRotationalAnglesVelocity (edict_t *const botEdict) { if (botEdict->v.fixangle != 2) { botEdict->v.fixangle = 1; return; } botEdict->v.angles.y += botEdict->v.avelocity.y; botEdict->v.angles.ClampYaw (); botEdict->v.v_angle.y = botEdict->v.angles.y; // Revert all back to defaults.... botEdict->v.avelocity.y = 0.0f; botEdict->v.fixangle = 1; }