Codechange: rename sound ids to make more sense. (#8701)

This commit is contained in:
frosch
2021-02-20 19:01:04 +01:00
committed by GitHub
parent cb95b1d2e7
commit d9b4413bc9
21 changed files with 302 additions and 302 deletions

View File

@@ -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);
}
}