Changeset - r14520:16406456ecf8
[Not reviewed]
master
0 1 0
alberth - 15 years ago 2010-02-12 10:40:29
alberth@openttd.org
(svn r19101) -Fix (r19039): Click sound was not played when pressing zoom in/out buttons.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/smallmap_gui.cpp
Show inline comments
 
@@ -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;
 
			}
 

	
0 comments (0 inline, 0 general)