summaryrefslogtreecommitdiff
path: root/src/roadveh_cmd.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2021-02-20 19:01:04 +0100
committerGitHub <noreply@github.com>2021-02-20 19:01:04 +0100
commitd9b4413bc90acd862ecdd9e03c1403f5c07db481 (patch)
tree966d75796f33ca6226e267d4eb8d69f026d94508 /src/roadveh_cmd.cpp
parentcb95b1d2e7cac8ec0e9abbf773ee1c08300103c9 (diff)
downloadopenttd-d9b4413bc90acd862ecdd9e03c1403f5c07db481.tar.xz
Codechange: rename sound ids to make more sense. (#8701)
Diffstat (limited to 'src/roadveh_cmd.cpp')
-rw-r--r--src/roadveh_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp
index f0c2c8aa4..f707f1221 100644
--- a/src/roadveh_cmd.cpp
+++ b/src/roadveh_cmd.cpp
@@ -595,8 +595,8 @@ static void StartRoadVehSound(const RoadVehicle *v)
{
if (!PlayVehicleSound(v, VSE_START)) {
SoundID s = RoadVehInfo(v->engine_type)->sfx;
- if (s == SND_19_BUS_START_PULL_AWAY && (v->tick_counter & 3) == 0) {
- s = SND_1A_BUS_START_PULL_AWAY_WITH_HORN;
+ if (s == SND_19_DEPARTURE_OLD_RV_1 && (v->tick_counter & 3) == 0) {
+ s = SND_1A_DEPARTURE_OLD_RV_2;
}
SndPlayVehicleFx(s, v);
}