Changeset - r3378:1378dd83a597
[Not reviewed]
master
0 1 0
celestar - 18 years ago 2006-03-30 15:47:18
celestar@openttd.org
(svn r4180) -Fix: Fixed an assert in the elrail drawing code due to passing of a wrong variable. I wish the compiler would warn about different enum types used...
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
elrail.c
Show inline comments
 
@@ -283,7 +283,7 @@ static void DrawCatenaryRailway(const Ti
 
					IsBridgeTile(ti->tile) &&
 
					IsBridgeMiddle(ti->tile) &&
 
					!(_display_opt & DO_TRANS_BUILDINGS) &&
 
					GetBridgeHeight(t) <= TilePixelHeight(t)
 
					GetBridgeHeight(ti->tile) <= TilePixelHeight(ti->tile)
 
			   ) return;
 

	
 
			assert(PCPconfig != 0); /* We have a pylon on neither end of the wire, that doesn't work (since we have no sprites for that) */
0 comments (0 inline, 0 general)