From 35e93e451fbf0b88401d9af137b2423fefe1dc58 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() --- road_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'road_gui.c') diff --git a/road_gui.c b/road_gui.c index 73ce819cd..2f5d2514b 100644 --- a/road_gui.c +++ b/road_gui.c @@ -270,7 +270,7 @@ static void BuildRoadToolbWndProc(Window* w, WindowEvent* e) case WE_PLACE_PRESIZE: { TileIndex tile = e->place.tile; - DoCommandByTile(tile, 0x200, 0, DC_AUTO, CMD_BUILD_TUNNEL); + DoCommand(tile, 0x200, 0, DC_AUTO, CMD_BUILD_TUNNEL); VpSetPresizeRange(tile, _build_tunnel_endtile==0?tile:_build_tunnel_endtile); break; } -- cgit v1.2.3-54-g00ecf