summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2016-05-22 10:07:48 +0000
committerfrosch <frosch@openttd.org>2016-05-22 10:07:48 +0000
commit9aa33862a7abe113bdb594fb04a60926837b2ade (patch)
tree6dc8cc256f1edecca1e4da63d12812827ee5edfb /src/main_gui.cpp
parent97e6981e39154d293056567bae84bac7f3202125 (diff)
downloadopenttd-9aa33862a7abe113bdb594fb04a60926837b2ade.tar.xz
(svn r27571) -Codechange: Consistent naming for command callbacks which play a sound effect.
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r--src/main_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index cdef1e6a6..b13920a64 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -118,7 +118,7 @@ bool HandlePlacePushButton(Window *w, int widget, CursorID cursor, HighLightStyl
}
-void CcPlaySound10(const CommandCost &result, TileIndex tile, uint32 p1, uint32 p2)
+void CcPlaySound_EXPLOSION(const CommandCost &result, TileIndex tile, uint32 p1, uint32 p2)
{
if (result.Succeeded() && _settings_client.sound.confirm) SndPlayTileFx(SND_12_EXPLOSION, tile);
}