projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
662dab9
)
fixed setting active score entry in hall of fame when changing levels
author
Holger Schemel
<info@artsoft.org>
Wed, 16 Mar 2022 16:46:27 +0000
(17:46 +0100)
committer
Holger Schemel
<info@artsoft.org>
Wed, 16 Mar 2022 16:46:27 +0000
(17:46 +0100)
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index d208c3a464723bd99a245cfb273c156aa8f18a91..3245e4474e97a78c89ab312416431b95784a566c 100644
(file)
--- 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);
}