git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2572 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4ae97130153aceaa3c1b055f3f194a3827b135d4
Former-commit-id: 5fc7aacf1981c89f38ca2f580b6a8ebf26e0559b
This commit is contained in:
torcs-ng 2010-07-26 15:51:13 +00:00
parent d80cc5ccac
commit 88dba33557

View file

@ -1090,11 +1090,11 @@ grUpdateTime(tSituation *s)
/* Update */
sd = sd + 0.25f;
if (sd > 359.9)
sd = 0.0;
if (sd > 359.9f)
sd = 0.0f;
sd2 = sd2 + 0.25f;
if (sd2 > 359.9)
sd2 = 0.0;
if (sd2 > 359.9f)
sd2 = 0.0f;
bodies[SUN]->setDeclination ( sd * SGD_DEGREES_TO_RADIANS);
bodies[MOON]->setDeclination ( sd2 * SGD_DEGREES_TO_RADIANS );