From 291d25a88bfcc8fa5e10b383ceaf03c446e032f5 Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 4 Dec 2004 09:26:39 +0000 Subject: (svn r925) Use sound enums Also play the correct sound when a toyland road vehicle breaks down --- aircraft_cmd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'aircraft_cmd.c') diff --git a/aircraft_cmd.c b/aircraft_cmd.c index 5dddf907a..5da1823fb 100644 --- a/aircraft_cmd.c +++ b/aircraft_cmd.c @@ -734,7 +734,7 @@ static bool Aircraft_5(Vehicle *v) if (u->cur_speed > 32) { v->cur_speed = 0; if (--u->cur_speed == 32) { - SndPlayVehicleFx(0x16, v); + SndPlayVehicleFx(SND_18_HELICOPTER, v); } } else { u->cur_speed = 32; @@ -1098,7 +1098,7 @@ static void MaybeCrashAirplane(Vehicle *v) 0); ModifyStationRatingAround(TILE_FROM_XY(v->x_pos, v->y_pos), v->owner, -160, 30); - SndPlayVehicleFx(16, v); + SndPlayVehicleFx(SND_12_EXPLOSION, v); } // we've landed and just arrived at a terminal @@ -1182,7 +1182,7 @@ static void AircraftLand(Vehicle *v) static void AircraftLandAirplane(Vehicle *v) { AircraftLand(v); - SndPlayVehicleFx(0x15, v); + SndPlayVehicleFx(SND_17_SKID_PLANE, v); MaybeCrashAirplane(v); } -- cgit v1.2.3-54-g00ecf