summaryrefslogtreecommitdiff
path: root/airport_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-12-04 09:26:39 +0000
committertron <tron@openttd.org>2004-12-04 09:26:39 +0000
commite56c3cddd8fcf8c852ee7f3c8dc49df9623a94d0 (patch)
treec64a0b16a280a9b4e7a310e747e96bca0821aa0e /airport_gui.c
parentd036559e0ed75f6357e129f2d78808240519fc78 (diff)
downloadopenttd-e56c3cddd8fcf8c852ee7f3c8dc49df9623a94d0.tar.xz
(svn r925) Use sound enums
Also play the correct sound when a toyland road vehicle breaks down
Diffstat (limited to 'airport_gui.c')
-rw-r--r--airport_gui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/airport_gui.c b/airport_gui.c
index 2cd9c15a7..1d46cfbfe 100644
--- a/airport_gui.c
+++ b/airport_gui.c
@@ -19,7 +19,7 @@ static void ShowBuildAirportPicker();
static void CcBuildAirport(bool success, uint tile, uint32 p1, uint32 p2)
{
if (success) {
- SndPlayTileFx(0x1D, tile);
+ SndPlayTileFx(SND_1F_SPLAT, tile);
ResetObjectToPlace();
}
}
@@ -172,12 +172,12 @@ static void BuildAirportPickerWndProc(Window *w, WindowEvent *e)
break;
case 3: case 4: case 5: case 6: case 7:
_selected_airport_type = e->click.widget - 3;
- SndPlayFx(0x13);
+ SndPlayFx(SND_15_BEEP);
SetWindowDirty(w);
break;
case 8: case 9:
_station_show_coverage = e->click.widget - 8;
- SndPlayFx(0x13);
+ SndPlayFx(SND_15_BEEP);
SetWindowDirty(w);
break;
}