From: Holger Schemel Date: Wed, 11 May 2022 08:59:48 +0000 (+0200) Subject: renamed variable X-Git-Tag: 4.3.2.2~34 X-Git-Url: https://git.artsoft.org/rocksndiamonds.git/?a=commitdiff_plain;h=f74f172cb8a4285a02038cf845d4e49cf74b6b8d;p=rocksndiamonds.git renamed variable --- diff --git a/src/screens.c b/src/screens.c index 43212e18..cba644ac 100644 --- a/src/screens.c +++ b/src/screens.c @@ -5301,9 +5301,9 @@ static void DrawHallOfFame_setScoreEntries(void) // ("score_entries" and "score_entry_current" may be NULL here) } -void DrawHallOfFame(int level_nr) +void DrawHallOfFame(int nr) { - scores.last_level_nr = level_nr; + scores.last_level_nr = nr; // (this is needed when called from GameEnd() after winning a game) KeyboardAutoRepeatOn(); @@ -5312,7 +5312,7 @@ void DrawHallOfFame(int level_nr) SetDrawDeactivationMask(REDRAW_NONE); SetDrawBackgroundMask(REDRAW_FIELD); - LoadLocalAndServerScore(level_nr, TRUE); + LoadLocalAndServerScore(scores.last_level_nr, TRUE); DrawHallOfFame_setScoreEntries();