summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-05-17 08:53:58 +0200
committerSergeanur <s.anureev@yandex.ua>2021-06-24 20:42:08 +0200
commit1471c82a2013d01649853f540e1c4c2495b4fcba (patch)
tree5ee41a269b7ba059bce939a9ba516d4e1d937a67 /src/control
parentMerge branch 'miami' into lcs (diff)
downloadre3-1471c82a2013d01649853f540e1c4c2495b4fcba.tar
re3-1471c82a2013d01649853f540e1c4c2495b4fcba.tar.gz
re3-1471c82a2013d01649853f540e1c4c2495b4fcba.tar.bz2
re3-1471c82a2013d01649853f540e1c4c2495b4fcba.tar.lz
re3-1471c82a2013d01649853f540e1c4c2495b4fcba.tar.xz
re3-1471c82a2013d01649853f540e1c4c2495b4fcba.tar.zst
re3-1471c82a2013d01649853f540e1c4c2495b4fcba.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/Script4.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/control/Script4.cpp b/src/control/Script4.cpp
index 4f443ad2..eb2254b9 100644
--- a/src/control/Script4.cpp
+++ b/src/control/Script4.cpp
@@ -2012,8 +2012,7 @@ int8 CRunningScript::ProcessCommands900To999(int32 command)
case COMMAND_HAS_MISSION_AUDIO_LOADED:
{
CollectParameters(&m_nIp, 1);
- //UpdateCompareFlag(DMAudio.GetMissionAudioLoadingStatus(GET_INTEGER_PARAM(0) - 1) == 1);
- UpdateCompareFlag(true); // TODO
+ UpdateCompareFlag(DMAudio.GetMissionAudioLoadingStatus(GET_INTEGER_PARAM(0) - 1) == 1);
return 0;
}
case COMMAND_PLAY_MISSION_AUDIO:
@@ -2023,8 +2022,7 @@ int8 CRunningScript::ProcessCommands900To999(int32 command)
case COMMAND_HAS_MISSION_AUDIO_FINISHED:
{
CollectParameters(&m_nIp, 1);
- //UpdateCompareFlag(DMAudio.IsMissionAudioSampleFinished(GET_INTEGER_PARAM(0) - 1)); // TODO
- UpdateCompareFlag(true);
+ UpdateCompareFlag(DMAudio.IsMissionAudioSampleFinished(GET_INTEGER_PARAM(0) - 1));
return 0;
}
case COMMAND_GET_CLOSEST_CAR_NODE_WITH_HEADING: