(svn r19551) [1.0] -Backport from trunk:

- Feature: Add rail speed limit to land area information window (r19434)
- Fix: [NewGRF] Bytes and words get sign-extended for temporary/persistent storage (r19497)
- Fix: Stop reducing the size of the vehicle list after selecting a vehicle with a long description (r19480)
- Fix: Implement custom sound effect for helicopter take-off [FS#3668] (r19364)
- Update: Plural type of Slovak (r19452)
This commit is contained in:
rubidium
2010-04-03 19:48:01 +00:00
parent 6837650080
commit 3106bb110e
17 changed files with 55 additions and 16 deletions
+5 -1
View File
@@ -876,7 +876,11 @@ static bool AircraftController(Aircraft *v)
/* Make sure the rotors don't rotate too fast */
if (u->cur_speed > 32) {
v->cur_speed = 0;
if (--u->cur_speed == 32) SndPlayVehicleFx(SND_18_HELICOPTER, v);
if (--u->cur_speed == 32) {
if (!PlayVehicleSound(v, VSE_START)) {
SndPlayVehicleFx(SND_18_HELICOPTER, v);
}
}
} else {
u->cur_speed = 32;
count = UpdateAircraftSpeed(v);