* Attempt to fix floating point imprecision from triggering annoying asserts
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1765 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
e963c18731
commit
1360756487
|
@ -961,7 +961,7 @@ static void moveCalcTurn(float *pCurr, float target, UDWORD rate)
|
|||
{
|
||||
*pCurr += 360.0f;
|
||||
}
|
||||
else if (*pCurr >= 360.0f)
|
||||
if (*pCurr >= 360.0f)
|
||||
{
|
||||
*pCurr -= 360.0f;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue