From: Holger Schemel Date: Wed, 23 Feb 2022 23:32:33 +0000 (+0100) Subject: fixed bug with wrong level number in hall of fame after winning a game X-Git-Tag: 4.3.2.0~107 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=81496b0bd11db07791c43d8f225c8e13768de97d;p=rocksndiamonds.git fixed bug with wrong level number in hall of fame after winning a game --- diff --git a/src/screens.c b/src/screens.c index 62497e67..a76393cb 100644 --- a/src/screens.c +++ b/src/screens.c @@ -5807,7 +5807,7 @@ static char *getHallOfFameScoreText(int nr) static void HandleHallOfFame_SelectLevel(int step, int direction) { - int old_level_nr = level_nr; + int old_level_nr = scores.last_level_nr; int new_level_nr = old_level_nr + step * direction; if (new_level_nr < leveldir_current->first_level)