changeset 8259 | 127e5d73637d |
parent 8254 | 5de2bbd26163 |
child 8315 | 2d66a977506a |
--- a/src/road_cmd.cpp Sat Oct 20 10:19:23 2007 +0000 +++ b/src/road_cmd.cpp Sat Oct 20 14:51:09 2007 +0000 @@ -366,7 +366,7 @@ /* foundation is used. Whole tile is leveled up */ if ((~_valid_tileh_slopes_road[1][tileh] & road_bits) == ROAD_NONE) { - return CommandCost(existing != ROAD_NONE ? 0 : _price.terraform); + return CommandCost(existing != ROAD_NONE ? (Money)0 : _price.terraform); } /* Force straight roads. */