equal
deleted
inserted
replaced
364 return CommandCost(); // no extra cost |
364 return CommandCost(); // no extra cost |
365 } |
365 } |
366 |
366 |
367 /* foundation is used. Whole tile is leveled up */ |
367 /* foundation is used. Whole tile is leveled up */ |
368 if ((~_valid_tileh_slopes_road[1][tileh] & road_bits) == ROAD_NONE) { |
368 if ((~_valid_tileh_slopes_road[1][tileh] & road_bits) == ROAD_NONE) { |
369 return CommandCost(existing != ROAD_NONE ? 0 : _price.terraform); |
369 return CommandCost(existing != ROAD_NONE ? (Money)0 : _price.terraform); |
370 } |
370 } |
371 |
371 |
372 /* Force straight roads. */ |
372 /* Force straight roads. */ |
373 *pieces |= MirrorRoadBits(*pieces); |
373 *pieces |= MirrorRoadBits(*pieces); |
374 |
374 |