summaryrefslogtreecommitdiff
path: root/src/network
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/network
parent97e6981e39154d293056567bae84bac7f3202125 (diff)
downloadopenttd-9aa33862a7abe113bdb594fb04a60926837b2ade.tar.xz
(svn r27571) -Codechange: Consistent naming for command callbacks which play a sound effect.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_command.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/network/network_command.cpp b/src/network/network_command.cpp
index 6e5458fd8..bc08bc5f1 100644
--- a/src/network/network_command.cpp
+++ b/src/network/network_command.cpp
@@ -27,7 +27,7 @@ static CommandCallback * const _callback_table[] = {
/* 0x01 */ CcBuildPrimaryVehicle,
/* 0x02 */ CcBuildAirport,
/* 0x03 */ CcBuildBridge,
- /* 0x04 */ CcBuildCanal,
+ /* 0x04 */ CcPlaySound_SPLAT_WATER,
/* 0x05 */ CcBuildDocks,
/* 0x06 */ CcFoundTown,
/* 0x07 */ CcBuildRoadTunnel,
@@ -36,9 +36,9 @@ static CommandCallback * const _callback_table[] = {
/* 0x0A */ CcRoadDepot,
/* 0x0B */ CcRailDepot,
/* 0x0C */ CcPlaceSign,
- /* 0x0D */ CcPlaySound10,
- /* 0x0E */ CcPlaySound1D,
- /* 0x0F */ CcPlaySound1E,
+ /* 0x0D */ CcPlaySound_EXPLOSION,
+ /* 0x0E */ CcPlaySound_SPLAT_OTHER,
+ /* 0x0F */ CcPlaySound_SPLAT_RAIL,
/* 0x10 */ CcStation,
/* 0x11 */ CcTerraform,
/* 0x12 */ CcAI,