forked from speed-dreams/speed-dreams-code
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:
parent
2c0d44fcaf
commit
1319f9a84f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue