projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d9020f
)
added fading sounds after covering BD screen when not playing anymore
author
Holger Schemel
<holger.schemel@virtion.de>
Tue, 14 Jan 2025 23:19:27 +0000
(
00:19
+0100)
committer
Holger Schemel
<holger.schemel@virtion.de>
Tue, 14 Jan 2025 23:19:28 +0000
(
00:19
+0100)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index 86d7bc56339678a8eafea3541ddb3dfa71981963..20784a476f8de2bf50d49f7fce25525a0724e29d 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-1015,6
+1015,11
@@
void CoverScreen(void)
}
CoverScreen_BD();
+
+ // if not playing or restarting game, stop sound loop played while covering the screen
+ if (game_status != GAME_MODE_PLAYING &&
+ game_status != GAME_MODE_PSEUDO_RESTARTING)
+ FadeSounds();
}
void FadeIn(int fade_mask)