summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-10-23 16:18:46 +0300
committerSergeanur <s.anureev@yandex.ua>2020-10-23 16:18:46 +0300
commitd7b9884f9d4f6e516c9b72360414fede04884e95 (patch)
treecf5679d2e41d18b45c18e8dbf3fa8e4dffa97eda
parent9f692ea3abd325495c084d1d3a5618987b7be401 (diff)
Use audio enum
-rw-r--r--src/control/Script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index 50e89ecc..6bde6b87 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -8333,11 +8333,11 @@ int8 CRunningScript::ProcessCommands800To899(int32 command)
}
case COMMAND_INDUSTRIAL_PASSED:
CStats::IndustrialPassed = true;
- DMAudio.PlayRadioAnnouncement(13); //TODO: enum?
+ DMAudio.PlayRadioAnnouncement(STREAMED_SOUND_ANNOUNCE_COMMERCIAL_OPEN);
return 0;
case COMMAND_COMMERCIAL_PASSED:
CStats::CommercialPassed = true;
- DMAudio.PlayRadioAnnouncement(14); //TODO: enum?
+ DMAudio.PlayRadioAnnouncement(STREAMED_SOUND_ANNOUNCE_SUBURBAN_OPEN);
return 0;
case COMMAND_SUBURBAN_PASSED:
CStats::SuburbanPassed = true;