Merged Gabor's new colored and horizontal leader board modes from sdl-port (r956,970,1007,1016 and, only for grBoard.cpp: 987)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1505 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 10de1eacb48ecd3c65b274680b51162f3c31edce Former-commit-id: f81f672c91c3350995eaa76e1a4b1a28cdd7cd37
This commit is contained in:
parent
d452d9d94d
commit
e50c54301e
1 changed files with 2 additions and 1 deletions
|
@ -1033,7 +1033,8 @@ cGrBoard::grDispLeaderBoardScroll(const tCarElt *car, const tSituation *s) const
|
|||
if(s->currentTime >= iTimer + LEADERBOARD_SCROLL_TIME)
|
||||
{
|
||||
iTimer = s->currentTime;
|
||||
iStart = ++iStart % (s->_ncars + 1); //Limit: number of cars + one separator line
|
||||
++iStart;
|
||||
iStart = iStart % (s->_ncars + 1); //Limit: number of cars + one separator line
|
||||
}
|
||||
|
||||
char buf[256];
|
||||
|
|
Loading…
Reference in a new issue