changeset 7763 | 342e5357b592 |
parent 7758 | 17ad53748c7b |
child 7819 | 7c86b40382cd |
--- 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. */