diff options
author | Charadon <dev@iotib.net> | 2022-06-08 06:27:13 -0400 |
---|---|---|
committer | Charadon <dev@iotib.net> | 2022-06-08 06:27:13 -0400 |
commit | 9cb1d207cbc896494b60068aa61598502675e4b7 (patch) | |
tree | d3748543a7b215129ffc77076bb7658bf81f1052 /src/versus.c | |
parent | c1811dc4241c5f89f3f3a743e35ef44c313356b5 (diff) | |
download | Pong-C-9cb1d207cbc896494b60068aa61598502675e4b7.tar.gz |
Changed how title music was played to make it respect settings
Diffstat (limited to 'src/versus.c')
-rw-r--r-- | src/versus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/versus.c b/src/versus.c index eb5ebf7..71e3689 100644 --- a/src/versus.c +++ b/src/versus.c @@ -23,7 +23,7 @@ void versus_main() { // Init music Mix_Music *Background = Mix_LoadMUS("resources/versus.wav"); Mix_PlayMusic(Background, -1); - Mix_VolumeMusic(MIX_MAX_VOLUME); + Mix_VolumeMusic(GlobalSettings.MusicVolume); // Set Sprites Texture2D PaddleSprite = LoadTexture("resources/paddle.png"); |