summaryrefslogtreecommitdiff
path: root/misc_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 /misc_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 'misc_gui.c')
-rw-r--r--misc_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc_gui.c b/misc_gui.c
index ecde8b78c..5b166d247 100644
--- a/misc_gui.c
+++ b/misc_gui.c
@@ -267,7 +267,7 @@ static void BuildTreesWndProc(Window *w, WindowEvent *e)
case 16: /* place trees randomly over the landscape*/
w->click_state |= 1 << 16;
w->flags4 |= 5 << WF_TIMEOUT_SHL;
- SndPlayFx(0x13);
+ SndPlayFx(SND_15_BEEP);
PlaceTreesRandomly();
MarkWholeScreenDirty();
break;