summaryrefslogtreecommitdiff
path: root/src/vehicle.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/vehicle.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/vehicle.cpp')
-rw-r--r--src/vehicle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp
index d0de000db..87568e8e8 100644
--- a/src/vehicle.cpp
+++ b/src/vehicle.cpp
@@ -1677,7 +1677,7 @@ static bool IsUniqueVehicleName(const char *name)
* @param p1 vehicle ID to name
* @param p2 unused
*/
-CommandCost CmdNameVehicle(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
+CommandCost CmdRenameVehicle(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
{
if (!IsValidVehicleID(p1)) return CMD_ERROR;