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:
parent
d80cc5ccac
commit
88dba33557
1 changed files with 6 additions and 6 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue