diff options
author | frosch <frosch@openttd.org> | 2021-02-20 19:01:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-20 19:01:04 +0100 |
commit | d9b4413bc90acd862ecdd9e03c1403f5c07db481 (patch) | |
tree | 966d75796f33ca6226e267d4eb8d69f026d94508 /src/roadveh_cmd.cpp | |
parent | cb95b1d2e7cac8ec0e9abbf773ee1c08300103c9 (diff) | |
download | openttd-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.cpp | 4 |
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); } |