summaryrefslogtreecommitdiff
path: root/src/aircraft_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/aircraft_cmd.cpp
parentcb95b1d2e7cac8ec0e9abbf773ee1c08300103c9 (diff)
downloadopenttd-d9b4413bc90acd862ecdd9e03c1403f5c07db481.tar.xz
Codechange: rename sound ids to make more sense. (#8701)
Diffstat (limited to 'src/aircraft_cmd.cpp')
-rw-r--r--src/aircraft_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aircraft_cmd.cpp b/src/aircraft_cmd.cpp
index 09c5dc433..f4542bacd 100644
--- a/src/aircraft_cmd.cpp
+++ b/src/aircraft_cmd.cpp
@@ -909,7 +909,7 @@ static bool AircraftController(Aircraft *v)
SoundID sfx = AircraftVehInfo(v->engine_type)->sfx;
/* For compatibility with old NewGRF we ignore the sfx property, unless a NewGRF-defined sound is used.
* The baseset has only one helicopter sound, so this only limits using plane or cow sounds. */
- if (sfx < ORIGINAL_SAMPLE_COUNT) sfx = SND_18_HELICOPTER;
+ if (sfx < ORIGINAL_SAMPLE_COUNT) sfx = SND_18_TAKEOFF_HELICOPTER;
SndPlayVehicleFx(sfx, v);
}
}