projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed "level_nr" style global animations on level selection screen
[rocksndiamonds.git]
/
src
/
screens.c
diff --git
a/src/screens.c
b/src/screens.c
index d48ba4ecf99d7edfc588828899b5c149729b91dc..c919220ef8f8b680792b44d25b9a8564755b9acf 100644
(file)
--- a/
src/screens.c
+++ b/
src/screens.c
@@
-1792,6
+1792,9
@@
void DrawMainMenu(void)
// store valid level series information
leveldir_last_valid = leveldir_current;
// store valid level series information
leveldir_last_valid = leveldir_current;
+ // store first level of this level set for "level_nr" style animations
+ SetAnimationFirstLevel(leveldir_current->first_level);
+
// needed if last screen (level choice) changed graphics, sounds or music
ReloadCustomArtwork(0);
// needed if last screen (level choice) changed graphics, sounds or music
ReloadCustomArtwork(0);