Bug #824 - fix change in brightness at 'go'

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

Former-commit-id: e898b198d3dc295615db24dc7ae5515d7950fd7a
Former-commit-id: 7e53e61ab0970c3b594a00a630c83dcd9f9d16a4
This commit is contained in:
mungewell 2013-07-18 03:21:13 +00:00
parent 2c0d44fcaf
commit 1319f9a84f

View file

@ -943,7 +943,7 @@ grUpdateSky(double currentTime, double accelTime)
}
lastTimeHighSpeed = currentTime;
lastTimeLowSpeed = 60 * (int)floor(accelTime / 60.0);
lastTimeLowSpeed = 60 * (int)floor((accelTime + 60.0) / 60.0);
bInitialized = true;
return;