thats not the problem , because that happen although in freezetime , but when I change the code to
Code:
pEdict->v.v_angle = UTIL_VecToAngles( vec );
if (pEdict->v.v_angle.y > 180)
pEdict->v.v_angle.y -=360;
// Paulo-La-Frite - START bot aiming bug fix
if (pEdict->v.v_angle.x > 180)
pEdict->v.v_angle.x -=360;
// set the body angles to point the gun correctly
pEdict->v.angles.x = pEdict->v.v_angle.x / 3;
pEdict->v.angles.y = pEdict->v.v_angle.y;
pEdict->v.angles.z = 0;
// adjust the view angle pitch to aim correctly (MUST be after body v.angles stuff)
pEdict->v.v_angle.x = -pEdict->v.v_angle.x;
// Paulo-La-Frite - END
pEdict->v.ideal_yaw = pEdict->v.v_angle.y;
BotFixIdealYaw(pEdict);
The problem will go away ! But it was unrealistic anyway ...