diff options
Diffstat (limited to 'station_cmd.c')
-rw-r--r-- | station_cmd.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/station_cmd.c b/station_cmd.c index 67e70cde5..c4cc83576 100644 --- a/station_cmd.c +++ b/station_cmd.c @@ -25,7 +25,6 @@ #include "airport.h" #include "sprite.h" #include "depot.h" -#include "pbs.h" #include "train.h" enum { @@ -2072,16 +2071,6 @@ static void DrawTile_Station(TileInfo *ti) // but this is something else. If AI builds station with 114 it looks all weird DrawGroundSprite(image); - if (_debug_pbs_level >= 1) { - byte pbs = PBSTileReserved(ti->tile); - if (pbs & TRACK_BIT_DIAG1) DrawGroundSprite(rti->base_sprites.single_y | PALETTE_CRASH); - if (pbs & TRACK_BIT_DIAG2) DrawGroundSprite(rti->base_sprites.single_x | PALETTE_CRASH); - if (pbs & TRACK_BIT_UPPER) DrawGroundSprite(rti->base_sprites.single_n | PALETTE_CRASH); - if (pbs & TRACK_BIT_LOWER) DrawGroundSprite(rti->base_sprites.single_s | PALETTE_CRASH); - if (pbs & TRACK_BIT_LEFT) DrawGroundSprite(rti->base_sprites.single_w | PALETTE_CRASH); - if (pbs & TRACK_BIT_RIGHT) DrawGroundSprite(rti->base_sprites.single_e | PALETTE_CRASH); - } - foreach_draw_tile_seq(dtss, t->seq) { image = dtss->image + relocation; image += offset; |