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

master
sigonasr2 5 months ago
parent 796c0da6d0
commit 0d7759b230
  1. 1
      Adventures in Lestoria/Audio.cpp
  2. 2
      Adventures in Lestoria/Version.h
  3. BIN
      x64/Release/Adventures in Lestoria.exe

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

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

Loading…
Cancel
Save