mirror of https://github.com/OpenTTD/OpenTTD
(svn r4156) CodeChange : Little cleanup after Celestar's elrail merge
parent
3ae99e17bb
commit
00cdf24057
|
@ -1300,7 +1300,7 @@ static void DrawTrackBits(TileInfo* ti, TrackBits track, bool earth, bool snow,
|
|||
if (track & TRACK_BIT_RIGHT) DrawGroundSprite(rti->base_sprites.single_e);
|
||||
}
|
||||
|
||||
if (GB(_m[ti->tile].m3, 0, 4) == RAILTYPE_ELECTRIC) DrawCatenary(ti);
|
||||
if (GetRailType(ti->tile) == RAILTYPE_ELECTRIC) DrawCatenary(ti);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue