From 5f4ff33ce340fc71e17abbdede06226dd4e56a54 Mon Sep 17 00:00:00 2001 From: smatz Date: Mon, 15 Sep 2008 22:58:41 +0000 Subject: (svn r14337) -Codechange: use CmdRename* and CMD_RENAME_* for vehicle, president and company renaming commands, too --- src/vehicle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vehicle.cpp') 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; -- cgit v1.2.3-54-g00ecf