(svn r13261) [NoAI] -Fix r11221: one of the many 'syncs' between trunk and NoAI went wrong, leaving towns more powerful than they should be (removing roads where they shouldn't)
--- a/src/road_cmd.cpp Sat May 24 22:48:46 2008 +0000
+++ b/src/road_cmd.cpp Mon May 26 11:36:42 2008 +0000
@@ -893,8 +893,7 @@
/* Clear the road if only one piece is on the tile OR the AI tries
* to clear town road OR we are not using the DC_AUTO flag */
- if ((CountBits(b) == 1 && GetRoadBits(tile, ROADTYPE_TRAM) == ROAD_NONE) ||
- IsTileOwner(tile, OWNER_TOWN) || !(flags & DC_AUTO)
+ if ((CountBits(b) == 1 && GetRoadBits(tile, ROADTYPE_TRAM) == ROAD_NONE) || !(flags & DC_AUTO)
) {
RoadTypes rts = GetRoadTypes(tile);
CommandCost ret(EXPENSES_CONSTRUCTION);