Fix a unit test calling BGM pitch change function (which doesn't need a test). Release Build 11564.

This commit is contained in:
sigonasr2 2024-09-15 16:59:33 -05:00
parent 796c0da6d0
commit 0d7759b230
3 changed files with 2 additions and 1 deletions

View File

@ -382,6 +382,7 @@ void Audio::SetBGMVolume(float vol){
UpdateBGMVolume(); UpdateBGMVolume();
} }
void Audio::SetBGMPitch(float pitch){ void Audio::SetBGMPitch(float pitch){
if(game->TestingModeEnabled())return;
BGM&track=Self().bgm[Self().playParams.sound]; BGM&track=Self().bgm[Self().playParams.sound];
for(int channelListIndex=0;int trackID:track.GetChannelIDs()){ for(int channelListIndex=0;int trackID:track.GetChannelIDs()){
Engine().SetPitch(trackID,pitch); Engine().SetPitch(trackID,pitch);

View File

@ -39,7 +39,7 @@ All rights reserved.
#define VERSION_MAJOR 1 #define VERSION_MAJOR 1
#define VERSION_MINOR 3 #define VERSION_MINOR 3
#define VERSION_PATCH 0 #define VERSION_PATCH 0
#define VERSION_BUILD 11562 #define VERSION_BUILD 11564
#define stringify(a) stringify_(a) #define stringify(a) stringify_(a)
#define stringify_(a) #a #define stringify_(a) #a