projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e393d82
)
fixed bug with wrong level number in hall of fame after winning a game
author
Holger Schemel
<info@artsoft.org>
Wed, 23 Feb 2022 23:32:33 +0000
(
00:32
+0100)
committer
Holger Schemel
<info@artsoft.org>
Wed, 23 Feb 2022 23:32:55 +0000
(
00:32
+0100)
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index 62497e67dca4ef1e84cbde9509469581db4807d9..a76393cb76280a7c54eb03e82b709201a13dad4f 100644
(file)
--- 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)