From e56c3cddd8fcf8c852ee7f3c8dc49df9623a94d0 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 --- vehicle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vehicle.c') diff --git a/vehicle.c b/vehicle.c index 69dc9f8d8..9c46bb13b 100644 --- a/vehicle.c +++ b/vehicle.c @@ -1106,7 +1106,7 @@ again: if (*b == 0x81) { if (v->z_pos > 180 || CHANCE16(1,96)) { v->spritenum = 5; - SndPlayVehicleFx(0x2F, v); + SndPlayVehicleFx(SND_2F_POP, v); } et = 0; goto again; @@ -1116,7 +1116,7 @@ again: uint tile; et++; - SndPlayVehicleFx(0x31, v); + SndPlayVehicleFx(SND_31_EXTRACT, v); tile = TILE_FROM_XY(v->x_pos, v->y_pos); if (IS_TILETYPE(tile, MP_INDUSTRY) && -- cgit v1.2.3-54-g00ecf