diff options
author | tron <tron@openttd.org> | 2004-12-04 09:26:39 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2004-12-04 09:26:39 +0000 |
commit | e56c3cddd8fcf8c852ee7f3c8dc49df9623a94d0 (patch) | |
tree | c64a0b16a280a9b4e7a310e747e96bca0821aa0e /dock_gui.c | |
parent | d036559e0ed75f6357e129f2d78808240519fc78 (diff) | |
download | openttd-e56c3cddd8fcf8c852ee7f3c8dc49df9623a94d0.tar.xz |
(svn r925) Use sound enums
Also play the correct sound when a toyland road vehicle breaks down
Diffstat (limited to 'dock_gui.c')
-rw-r--r-- | dock_gui.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |