mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-13 00:24:10 +00:00
Fix abs() being used for float in cl_input.c
This commit is contained in:
parent
1d09a7d578
commit
6d62dc3646
1 changed files with 2 additions and 2 deletions
|
@ -604,10 +604,10 @@ usercmd_t CL_CreateCmd( void ) {
|
||||||
// draw debug graphs of turning for mouse testing
|
// draw debug graphs of turning for mouse testing
|
||||||
if ( cl_debugMove->integer ) {
|
if ( cl_debugMove->integer ) {
|
||||||
if ( cl_debugMove->integer == 1 ) {
|
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 ) {
|
if ( cl_debugMove->integer == 2 ) {
|
||||||
SCR_DebugGraph( abs(cl.viewangles[PITCH] - oldAngles[PITCH]) );
|
SCR_DebugGraph( fabs(cl.viewangles[PITCH] - oldAngles[PITCH]) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue