|
|
@ -470,8 +470,7 @@ static void DrawRailCatenaryRailway(const TileInfo *ti)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Drawing of pylons is finished, now draw the wires */
|
|
|
|
/* Drawing of pylons is finished, now draw the wires */
|
|
|
|
Track t;
|
|
|
|
for (Track t : SetTrackBitIterator(wireconfig[TS_HOME])) {
|
|
|
|
FOR_EACH_SET_TRACK(t, wireconfig[TS_HOME]) {
|
|
|
|
|
|
|
|
SpriteID wire_base = (t == halftile_track) ? wire_halftile : wire_normal;
|
|
|
|
SpriteID wire_base = (t == halftile_track) ? wire_halftile : wire_normal;
|
|
|
|
byte PCPconfig = HasBit(PCPstatus, PCPpositions[t][0]) +
|
|
|
|
byte PCPconfig = HasBit(PCPstatus, PCPpositions[t][0]) +
|
|
|
|
(HasBit(PCPstatus, PCPpositions[t][1]) << 1);
|
|
|
|
(HasBit(PCPstatus, PCPpositions[t][1]) << 1);
|
|
|
|