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 /smallmap_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 'smallmap_gui.c')
-rw-r--r-- | smallmap_gui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/smallmap_gui.c b/smallmap_gui.c index 3cbca89a8..3f8debefe 100644 --- a/smallmap_gui.c +++ b/smallmap_gui.c @@ -881,7 +881,7 @@ static void SmallMapWindowProc(Window *w, WindowEvent *e) case 2: {/* big/small size */ // const Widget *wi = w->widget; DeleteWindow(w); - SndPlayFx(0x13); + SndPlayFx(SND_15_BEEP); { int i = _smallmap_size + 1; if (i == 3) i = 0; @@ -913,14 +913,14 @@ static void SmallMapWindowProc(Window *w, WindowEvent *e) _smallmap_type = e->click.widget - 5; SetWindowDirty(w); - SndPlayFx(0x13); + SndPlayFx(SND_15_BEEP); break; case 11: /* toggle town names */ w->click_state ^= (1 << 11); _smallmap_show_towns = (w->click_state >> 11) & 1; SetWindowDirty(w); - SndPlayFx(0x13); + SndPlayFx(SND_15_BEEP); break; } break; |