diff options
author | alberth <alberth@openttd.org> | 2010-02-12 10:40:29 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-02-12 10:40:29 +0000 |
commit | 464ad6b951c8cd1c41b828b070aec5fb77983e8e (patch) | |
tree | 333c445df14fba54f03feb58d16afb02a12975bc /src | |
parent | 6c35de1d255cd409f66cabd872bbaf0334455f52 (diff) | |
download | openttd-464ad6b951c8cd1c41b828b070aec5fb77983e8e.tar.xz |
(svn r19101) -Fix (r19039): Click sound was not played when pressing zoom in/out buttons.
Diffstat (limited to 'src')
-rw-r--r-- | src/smallmap_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp index 4ac191c3b..1892d173a 100644 --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -1113,6 +1113,7 @@ public: const NWidgetBase *wid = this->GetWidget<NWidgetBase>(SM_WIDGET_MAP); Point pt = {wid->current_x / 2, wid->current_y / 2}; this->SetZoomLevel((widget == SM_WIDGET_ZOOM_IN) ? ZLC_ZOOM_IN : ZLC_ZOOM_OUT, &pt); + SndPlayFx(SND_15_BEEP); break; } |