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 --- dock_gui.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dock_gui.c') diff --git a/dock_gui.c b/dock_gui.c index 1b024086f..26e3ee8ff 100644 --- a/dock_gui.c +++ b/dock_gui.c @@ -16,14 +16,14 @@ static byte _ship_depot_direction; static void CcBuildDocks(bool success, uint tile, uint32 p1, uint32 p2) { if (success) { - SndPlayTileFx(0, tile); + SndPlayTileFx(SND_02_SPLAT, tile); ResetObjectToPlace(); } } static void CcBuildCanal(bool success, uint tile, uint32 p1, uint32 p2) { - if (success) { SndPlayTileFx(0, tile); } + if (success) SndPlayTileFx(SND_02_SPLAT, tile); } @@ -279,7 +279,7 @@ static void BuildDocksDepotWndProc(Window *w, WindowEvent *e) case 3: case 4: _ship_depot_direction = e->click.widget - 3; - SndPlayFx(0x13); + SndPlayFx(SND_15_BEEP); UpdateDocksDirection(); SetWindowDirty(w); break; -- cgit v1.2.3-54-g00ecf