diff options
author | Zack Middleton <zturtleman@gmail.com> | 2015-06-28 18:24:55 -0500 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2016-04-07 11:02:29 +0100 |
commit | f2b5400e983a4cf20da96783908a0a825e9f60c6 (patch) | |
tree | 368e0bcf94f50319011574fc9abc74e561adfc85 /src/client | |
parent | 491b8a29a869fa98c8d09ae34d1d59409ce1221a (diff) |
Fix abs() being used for float in cl_input.c
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/cl_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/cl_input.c b/src/client/cl_input.c index e09d7d75..fdd0c474 100644 --- a/src/client/cl_input.c +++ b/src/client/cl_input.c @@ -605,10 +605,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]) ); } } |