equal
deleted
inserted
replaced
1327 * code, it is used to indicate that the sprite |
1327 * code, it is used to indicate that the sprite |
1328 * should be drawn in company colors, and it's |
1328 * should be drawn in company colors, and it's |
1329 * up to the GRF file to decide that. */ |
1329 * up to the GRF file to decide that. */ |
1330 |
1330 |
1331 image = cust->ground_sprite; |
1331 image = cust->ground_sprite; |
1332 image += (image < _custom_sprites_base) ? rti->total_offset : GetRailTypeInfo(GetRailType(ti->tile))->custom_ground_offset; |
1332 image += (image < _custom_sprites_base) ? rti->total_offset : rti->custom_ground_offset; |
1333 |
1333 |
1334 DrawGroundSprite(image); |
1334 DrawGroundSprite(image); |
1335 |
1335 |
1336 if (GetRailType(ti->tile) == RAILTYPE_ELECTRIC) DrawCatenary(ti); |
1336 if (GetRailType(ti->tile) == RAILTYPE_ELECTRIC) DrawCatenary(ti); |
1337 |
1337 |