Fix abs() being used for float in cl_input.c
This commit is contained in:
1 parent
1d09a7d578
commit
6d62dc3646
1 file changed
+2
-2
@@ -604,10 +604,10 @@ usercmd_t CL_CreateCmd( void ) {
|
||||
// draw debug graphs of turning for mouse testing
|
||||
if ( cl_debugMove->integer ) {
|
||||
if ( cl_debugMove->integer == 1 ) {
|
||||
SCR_DebugGraph( abs(cl.viewangles[YAW] - oldAngles[YAW]) );
|
||||
SCR_DebugGraph( fabs(cl.viewangles[YAW] - oldAngles[YAW]) );
|
||||
}
|
||||
if ( cl_debugMove->integer == 2 ) {
|
||||
SCR_DebugGraph( abs(cl.viewangles[PITCH] - oldAngles[PITCH]) );
|
||||
SCR_DebugGraph( fabs(cl.viewangles[PITCH] - oldAngles[PITCH]) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user