Changeset - r3880:3c29273adb0a
[Not reviewed]
master
0 1 0
celestar - 18 years ago 2006-05-20 21:04:43
celestar@openttd.org
(svn r4934) -Fix: Correct a misleading comment, and remove an unneeded condition from the corresponding if (thans Tron for pointing it out)
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
elrail.c
Show inline comments
 
@@ -214,8 +214,8 @@ static void DrawCatenaryRailway(const Ti
 
		PPPpreferred[i] *= HASBIT(PCPstatus, i);
 
		PPPallowed[i] *= HASBIT(PCPstatus, i);
 

	
 
		/* Station on a non-flat tile means foundation. add one height level and adjust tileh */
 
		if (IsTileType(neighbour, MP_STATION) && tileh[TS_NEIGHBOUR] != SLOPE_FLAT) tileh[TS_NEIGHBOUR] = SLOPE_FLAT;
 
		/* A station is always "flat", so adjust the tileh accordingly */
 
		if (IsTileType(neighbour, MP_STATION)) tileh[TS_NEIGHBOUR] = SLOPE_FLAT;
 

	
 
		/* Read the foundataions if they are present, and adjust the tileh */
 
		if (IsTileType(neighbour, MP_RAILWAY)) foundation = GetRailFoundation(tileh[TS_NEIGHBOUR], trackconfig[TS_NEIGHBOUR]);
0 comments (0 inline, 0 general)