about summary refs log tree commit diff stats
path: root/src/marathon.c
diff options
context:
space:
mode:
authorCharadon <dev@iotib.net>2022-06-08 06:27:13 -0400
committerCharadon <dev@iotib.net>2022-06-08 06:27:13 -0400
commit9cb1d207cbc896494b60068aa61598502675e4b7 (patch)
treed3748543a7b215129ffc77076bb7658bf81f1052 /src/marathon.c
parentc1811dc4241c5f89f3f3a743e35ef44c313356b5 (diff)
downloadPong-C-9cb1d207cbc896494b60068aa61598502675e4b7.tar.gz
Changed how title music was played to make it respect settings
Diffstat (limited to 'src/marathon.c')
-rw-r--r--src/marathon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/marathon.c b/src/marathon.c
index b5de37e..209fb52 100644
--- a/src/marathon.c
+++ b/src/marathon.c
@@ -5,6 +5,7 @@ void marathon_main() {
     // Init Music
     Mix_Music *Background = Mix_LoadMUS("resources/marathon.wav");
     Mix_PlayMusic(Background, -1);
+    Mix_VolumeMusic(GlobalSettings.MusicVolume);
 
     // Init balls lmao
     struct Balls Ball;