1
0
Fork 0

(svn r4156) CodeChange : Little cleanup after Celestar's elrail merge

release/0.5
belugas 2006-03-29 20:06:31 +00:00
parent 3ae99e17bb
commit 00cdf24057
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}