From 4f9a0f750a3dac48130f973bb9e34c7c21fddde4 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 28 May 2007 19:26:32 +0000 Subject: (svn r9964) -Fix: removing of road should not be free of charge. --- src/road_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/road_cmd.cpp b/src/road_cmd.cpp index fd79bd665..5fe6a9bf0 100644 --- a/src/road_cmd.cpp +++ b/src/road_cmd.cpp @@ -740,7 +740,7 @@ static int32 ClearTile_Road(TileIndex tile, byte flags) if (HASBIT(rts, rt)) { int32 tmp_ret = DoCommand(tile, rt << 4 | GetRoadBits(tile, rt), 0, flags, CMD_REMOVE_ROAD); if (CmdFailed(tmp_ret)) return tmp_ret; - ret += rt; + ret += tmp_ret; } } return ret; -- cgit v1.2.3-70-g09d2