if(!isnew)
return;
self.warpzone_transform = v;
- setproperty(VF_CL_VIEWANGLES, WarpZone_TransformVAngles(self, getpropertyvec(VF_CL_VIEWANGLES), -autocvar_in_pitch_max, -autocvar_in_pitch_min));
+ setproperty(VF_CL_VIEWANGLES, WarpZone_TransformVAngles(self, getpropertyvec(VF_CL_VIEWANGLES), autocvar_in_pitch_min, autocvar_in_pitch_max));
if(checkextension("DP_CSQC_ROTATEMOVES"))
CL_RotateMoves(v);
//CL_RotateMoves('0 90 0');
if(e)
{
pmove_org = WarpZone_TransformOrigin(e, pmove_org);
- input_angles = WarpZone_TransformVAngles(e, input_angles, -autocvar_in_pitch_max, -autocvar_in_pitch_min);
+ input_angles = WarpZone_TransformVAngles(e, input_angles, autocvar_in_pitch_min, autocvar_in_pitch_max);
}
}
if(e)
{
org = WarpZone_TransformOrigin(e, org);
- ang = WarpZone_TransformVAngles(e, ang, -autocvar_in_pitch_max, -autocvar_in_pitch_min);
+ ang = WarpZone_TransformVAngles(e, ang, autocvar_in_pitch_min, autocvar_in_pitch_max);
#ifdef WORKAROUND_XON010
dirty = 1;
#endif
o10 = o1 = WarpZone_TransformOrigin(wz, o0);
v1 = WarpZone_TransformVelocity(wz, v0);
if not(IS_NOT_A_CLIENT(player))
- a1 = WarpZone_TransformVAngles(wz, player.v_angle, -player.cvar_in_pitch_max, -player.cvar_in_pitch_min);
+ a1 = WarpZone_TransformVAngles(wz, player.v_angle, player.cvar_in_pitch_min, player.cvar_in_pitch_max);
else
a1 = WarpZone_TransformAngles(wz, a0);
if(self.v_angle_z <= 360) // if not already adjusted
if(time - self.ping * 0.001 < self.warpzone_teleport_time)
{
- self.v_angle = WarpZone_TransformVAngles(self.warpzone_teleport_zone, self.v_angle, -self.cvar_in_pitch_max, -self.cvar_in_pitch_min);
+ self.v_angle = WarpZone_TransformVAngles(self.warpzone_teleport_zone, self.v_angle, self.cvar_in_pitch_min, self.cvar_in_pitch_max);
self.v_angle_z += 720; // mark as adjusted
}
#endif