This commit is contained in:
Nikolay Korolev 2020-04-08 23:50:45 +03:00 committed by GitHub
parent 5a034097c9
commit 42d5f65c55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9153,6 +9153,7 @@ int8 CRunningScript::ProcessCommands1100To1199(int32 command)
return 0; return 0;
} }
case COMMAND_LOAD_END_OF_GAME_TUNE: case COMMAND_LOAD_END_OF_GAME_TUNE:
DMAudio.ChangeMusicMode(MUSICMODE_CUTSCENE);
printf("Start preload end of game audio\n"); printf("Start preload end of game audio\n");
DMAudio.PreloadCutSceneMusic(STREAMED_SOUND_GAME_COMPLETED); DMAudio.PreloadCutSceneMusic(STREAMED_SOUND_GAME_COMPLETED);
printf("End preload end of game audio\n"); printf("End preload end of game audio\n");