Set default SD fallback music for themes: sdmusic.ogg
authorWuzzy <Wuzzy2@mail.ru>
Sat, 11 May 2019 04:58:11 +0200
changeset 14933 3a53309e684b
parent 14932 938e67bc08ac
child 14934 68e1783762bc
Set default SD fallback music for themes: sdmusic.ogg
ChangeLog.txt
hedgewars/uSound.pas
--- a/ChangeLog.txt	Sat May 11 00:08:50 2019 +0200
+++ b/ChangeLog.txt	Sat May 11 04:58:11 2019 +0200
@@ -61,6 +61,7 @@
  + Precise + cursor move keys move camera slower
  + New chat command: “/help room” (shows room chat commands within the game)
  + Default demo fast-forward key changed from “S” to “F”
+ + Default fallback Sudden Death music of themes (fallback-sd-music) is now sdmusic.ogg
  * Fix broken default keyboard controls for team chat and camera movement
 
 Graphics:
--- a/hedgewars/uSound.pas	Sat May 11 00:08:50 2019 +0200
+++ b/hedgewars/uSound.pas	Sat May 11 04:58:11 2019 +0200
@@ -1022,6 +1022,8 @@
 
     MusicFN:='';
     SDMusicFN:= 'sdmusic.ogg';
+    FallbackMusicFN:='';
+    FallbackSDMusicFN:= 'sdmusic.ogg';
     Mus:= nil;
     isAudioMuted:= false;
     isSEBackup:= isSoundEnabled;