(svn r14337) -Codechange: use CmdRename* and CMD_RENAME_* for vehicle, president and company renaming commands, too

This commit is contained in:
smatz
2008-09-15 22:58:41 +00:00
parent a20dae0df1
commit 5f4ff33ce3
9 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -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;
}
}