summaryrefslogtreecommitdiffstats
path: root/src/control/GameLogic.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-06-08 16:32:57 +0200
committerGitHub <noreply@github.com>2020-06-08 16:32:57 +0200
commit85d845c5ce5b004ef0a005652ebcdb82b1143579 (patch)
treea8e4ec80bc8ecf056616dda057fd96fb635273e1 /src/control/GameLogic.cpp
parentbla (diff)
parentfixes (diff)
downloadre3-85d845c5ce5b004ef0a005652ebcdb82b1143579.tar
re3-85d845c5ce5b004ef0a005652ebcdb82b1143579.tar.gz
re3-85d845c5ce5b004ef0a005652ebcdb82b1143579.tar.bz2
re3-85d845c5ce5b004ef0a005652ebcdb82b1143579.tar.lz
re3-85d845c5ce5b004ef0a005652ebcdb82b1143579.tar.xz
re3-85d845c5ce5b004ef0a005652ebcdb82b1143579.tar.zst
re3-85d845c5ce5b004ef0a005652ebcdb82b1143579.zip
Diffstat (limited to 'src/control/GameLogic.cpp')
-rw-r--r--src/control/GameLogic.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/control/GameLogic.cpp b/src/control/GameLogic.cpp
index a98315e2..50e5584d 100644
--- a/src/control/GameLogic.cpp
+++ b/src/control/GameLogic.cpp
@@ -193,15 +193,15 @@ CGameLogic::Update()
pPlayerInfo.m_nBustedAudioStatus = BUSTEDAUDIO_LOADING;
char name[12];
sprintf(name, pPlayerInfo.m_nCurrentBustedAudio >= 10 ? "bust_%d" : "bust_0%d", pPlayerInfo.m_nCurrentBustedAudio);
- DMAudio.ClearMissionAudio(); // TODO(MIAMI): argument is 0
- DMAudio.PreloadMissionAudio(name); // TODO(MIAMI): argument is 0
+ DMAudio.ClearMissionAudio(0);
+ DMAudio.PreloadMissionAudio(0, name);
pPlayerInfo.m_nCurrentBustedAudio = pPlayerInfo.m_nCurrentBustedAudio % 28 + 1; // enum? const? TODO
}
}
if (CTimer::GetTimeInMilliseconds() - pPlayerInfo.m_nWBTime > 4000 &&
pPlayerInfo.m_nBustedAudioStatus == BUSTEDAUDIO_LOADING &&
- DMAudio.GetMissionAudioLoadingStatus() == 1) { // TODO: argument is 0
- DMAudio.PlayLoadedMissionAudio(); // TODO: argument is 0
+ DMAudio.GetMissionAudioLoadingStatus(0) == 1) {
+ DMAudio.PlayLoadedMissionAudio(0);
pPlayerInfo.m_nBustedAudioStatus = BUSTEDAUDIO_DONE;
}