summaryrefslogtreecommitdiff
path: root/src/players.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-09-15 22:58:41 +0000
committersmatz <smatz@openttd.org>2008-09-15 22:58:41 +0000
commit5f4ff33ce340fc71e17abbdede06226dd4e56a54 (patch)
tree45c367908e8900a20e722b7841e5eaf20df8cafd /src/players.cpp
parenta20dae0df1614f8701c1ac3a20a64fe6fd4fda5d (diff)
downloadopenttd-5f4ff33ce340fc71e17abbdede06226dd4e56a54.tar.xz
(svn r14337) -Codechange: use CmdRename* and CMD_RENAME_* for vehicle, president and company renaming commands, too
Diffstat (limited to 'src/players.cpp')
-rw-r--r--src/players.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/players.cpp b/src/players.cpp
index c1875270a..dc3f8ef94 100644
--- a/src/players.cpp
+++ b/src/players.cpp
@@ -880,7 +880,7 @@ CommandCost CmdPlayerCtrl(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
* For example in network_client.c:534? */
_cmd_text = ci->client_name;
_local_player = ci->client_playas;
- NetworkSend_Command(0, 0, 0, CMD_CHANGE_PRESIDENT_NAME, NULL);
+ NetworkSend_Command(0, 0, 0, CMD_RENAME_PRESIDENT, NULL);
_local_player = player_backup;
}
}