From: Holger Schemel Date: Wed, 16 Mar 2022 16:46:27 +0000 (+0100) Subject: fixed setting active score entry in hall of fame when changing levels X-Git-Tag: 4.3.2.0~71 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=8c1ac40c6c66b49fa4df93d2f1937ba5ceb78e7e;p=rocksndiamonds.git fixed setting active score entry in hall of fame when changing levels --- diff --git a/src/screens.c b/src/screens.c index d208c3a4..3245e447 100644 --- a/src/screens.c +++ b/src/screens.c @@ -5842,6 +5842,7 @@ static void HandleHallOfFame_SelectLevel(int step, int direction) PlaySound(SND_MENU_ITEM_SELECTING); scores.last_level_nr = level_nr = new_level_nr; + scores.last_entry_nr = 0; LoadLevel(level_nr); LoadLocalAndServerScore(level_nr, TRUE); @@ -5863,8 +5864,6 @@ static void HandleHallOfFame_SelectLevel(int step, int direction) } else { - scores.last_entry_nr = 0; - DrawScoreInfo_Content(scores.last_entry_nr); }