Clarify a calculation

floating-point
Nicolas Hake 2010-10-02 19:02:21 +02:00
parent 75a723ec8b
commit 2df81a55d1
1 changed files with 1 additions and 2 deletions

View File

@ -635,8 +635,7 @@ bool SimFlight(C4Real &x, C4Real &y, C4Real &xdir, C4Real &ydir, int32_t iDensit
x = itofix(cx); y = itofix(cy);
// how many steps did it take to get here?
i = iIter - i;
iIter = i;
iIter -= i;
return hitOnTime;
}