Changeset - r72:373a82e11488
[Not reviewed]
master
0 1 0
darkvater - 20 years ago 2004-08-17 09:23:25
darkvater@openttd.org
(svn r73) -Fix: Wrong building of road-slopes for a future AI/Town
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
road_cmd.c
Show inline comments
 
@@ -320,7 +320,7 @@ static uint32 CheckRoadSlope(int tileh, 
 
			// 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;
0 comments (0 inline, 0 general)