Fixed "Krenko Commander" and "Plane of the Apes" decks for AI, added a commandline trace to check which soundtrack file is currently playing.

This commit is contained in:
Vittorio Alfieri
2021-10-18 11:33:15 +02:00
parent 5bf5e1dfba
commit fcb073ccd6
4 changed files with 8 additions and 3 deletions

View File

@@ -554,6 +554,8 @@ void GameApp::playMusic(string filename, bool loop)
{
if(filename == "") filename = currentMusicFile;
JGE::GetInstance()->SendCommand("\nSelected soundtrack is: " + filename + "\n");
if (filename.compare(currentMusicFile) == 0 && music)
return;