diff --git a/road_cmd.c b/road_cmd.c index 07692c33da..441e1dff8b 100644 --- a/road_cmd.c +++ b/road_cmd.c @@ -320,7 +320,7 @@ static uint32 CheckRoadSlope(int tileh, byte *pieces, byte existing) // force full pieces. *pieces |= (*pieces & 0xC) >> 2; *pieces |= (*pieces & 0x3) << 2; - return existing ? 0 : _price.terraform; + return (*pieces == (ROAD_NE|ROAD_SW) || *pieces == (ROAD_SE|ROAD_NW)) ? _price.terraform : CMD_ERROR; } } return CMD_ERROR;