changeset 7215 | ef3e4b2bc075 |
parent 7213 | 9e17eef904cb |
child 7219 | e5b7a61ea70f |
--- a/src/road_cmd.cpp Sat May 26 23:23:22 2007 +0000 +++ b/src/road_cmd.cpp Sun May 27 01:03:59 2007 +0000 @@ -358,9 +358,9 @@ switch (GetRoadTileType(tile)) { case ROAD_TILE_NORMAL: if (HasRoadWorks(tile)) return_cmd_error(STR_ROAD_WORKS_IN_PROGRESS); + all_bits = GetAllRoadBits(tile); if (!HASBIT(GetRoadTypes(tile), rt)) break; - all_bits = GetAllRoadBits(tile); existing = GetRoadBits(tile, rt); if ((existing & pieces) == pieces) { return_cmd_error(STR_1007_ALREADY_BUILT);