summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-08 22:51:39 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-08 22:51:39 +0200
commit6b06ee21ad1544f2fae5473b88a67b98ff9038e3 (patch)
treeeaf674e6de391849e1a9febfe14c34f688faf3ad /src
parentfixed random number retrieval (diff)
parentfix bug (diff)
downloadre3-6b06ee21ad1544f2fae5473b88a67b98ff9038e3.tar
re3-6b06ee21ad1544f2fae5473b88a67b98ff9038e3.tar.gz
re3-6b06ee21ad1544f2fae5473b88a67b98ff9038e3.tar.bz2
re3-6b06ee21ad1544f2fae5473b88a67b98ff9038e3.tar.lz
re3-6b06ee21ad1544f2fae5473b88a67b98ff9038e3.tar.xz
re3-6b06ee21ad1544f2fae5473b88a67b98ff9038e3.tar.zst
re3-6b06ee21ad1544f2fae5473b88a67b98ff9038e3.zip
Diffstat (limited to 'src')
-rw-r--r--src/control/Script.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index 18572573..db2c93a3 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -9153,6 +9153,7 @@ int8 CRunningScript::ProcessCommands1100To1199(int32 command)
return 0;
}
case COMMAND_LOAD_END_OF_GAME_TUNE:
+ DMAudio.ChangeMusicMode(MUSICMODE_CUTSCENE);
printf("Start preload end of game audio\n");
DMAudio.PreloadCutSceneMusic(STREAMED_SOUND_GAME_COMPLETED);
printf("End preload end of game audio\n");