Changeset - r2124:b07f120985c5
[Not reviewed]
master
0 1 0
tron - 19 years ago 2005-07-19 07:20:48
tron@openttd.org
(svn r2634) Fix typo: IsSteepTile expects a tileh, not a TileIndex (thanks to peter1138)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
road_cmd.c
Show inline comments
 
@@ -385,7 +385,7 @@ int32 CmdBuildRoad(int x, int y, uint32 
 
	} else if (ti.type == MP_RAILWAY) {
 
		byte m5;
 

	
 
		if (IsSteepTileh(ti.tile)) // very steep tile
 
		if (IsSteepTileh(ti.tileh)) // very steep tile
 
				return_cmd_error(STR_1000_LAND_SLOPED_IN_WRONG_DIRECTION);
 

	
 
		if(!_valid_tileh_slopes_road[2][ti.tileh]) // prevent certain slopes
0 comments (0 inline, 0 general)