From 81e6d68f95e7dea5c0d7dd105d67980d64af71e0 Mon Sep 17 00:00:00 2001 From: tron Date: Mon, 10 Apr 2006 07:15:58 +0000 Subject: (svn r4342) Change the first two parameters of commands - virtual pixel coordinates of the tile to operate on - to a TileIndex Remove DoCommandByTile(), because now it does the same as DoCommand() --- bridge_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge_gui.c') diff --git a/bridge_gui.c b/bridge_gui.c index 778c7b93a..fab13c39d 100644 --- a/bridge_gui.c +++ b/bridge_gui.c @@ -128,7 +128,7 @@ void ShowBuildBridgeWindow(TileIndex start, TileIndex end, byte bridge_type) // only query bridge building possibility once, result is the same for all bridges! // returns CMD_ERROR on failure, and price on success - ret = DoCommandByTile(end, start, (bridge_type << 8), DC_AUTO | DC_QUERY_COST, CMD_BUILD_BRIDGE); + ret = DoCommand(end, start, (bridge_type << 8), DC_AUTO | DC_QUERY_COST, CMD_BUILD_BRIDGE); if (CmdFailed(ret)) { errmsg = _error_message; -- cgit v1.2.3-70-g09d2