* 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-861f7616d084
master
Giel van Schijndel 2007-05-29 21:37:22 +00:00
parent e963c18731
commit 1360756487
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}