Skip to content
Snippets Groups Projects
Commit 8a9331e3 authored by Erik von Reis's avatar Erik von Reis
Browse files

Changed a greater than to greater than or equal.

parent 838012cb
No related branches found
No related tags found
1 merge request!52Paramramp
......@@ -149,7 +149,7 @@ RampParamUpdate( RampParamState* state )
state->isRamping = !( dxNow == 0.0 && state->dxPrev == 0.0 );
//if close enough, just jump to the end
if ( lfabs(dxNow) > lfabs(dxReq))
if ( lfabs(dxNow) >= lfabs(dxReq))
{
state->val = state->req;
dxNow = dxReq;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment