equal
deleted
inserted
replaced
466 |
466 |
467 // Update the virtual coords needed to draw the station sign. |
467 // Update the virtual coords needed to draw the station sign. |
468 // st = Station to update for. |
468 // st = Station to update for. |
469 static void UpdateStationVirtCoord(Station *st) |
469 static void UpdateStationVirtCoord(Station *st) |
470 { |
470 { |
471 Point pt = RemapCoords2(TileX(st->xy) * 16, TileY(st->xy) * 16); |
471 Point pt = RemapCoords2(TileX(st->xy) * TILE_SIZE, TileY(st->xy) * TILE_SIZE); |
472 |
472 |
473 pt.y -= 32; |
473 pt.y -= 32; |
474 if (st->facilities & FACIL_AIRPORT && st->airport_type == AT_OILRIG) pt.y -= 16; |
474 if (st->facilities & FACIL_AIRPORT && st->airport_type == AT_OILRIG) pt.y -= 16; |
475 |
475 |
476 SetDParam(0, st->index); |
476 SetDParam(0, st->index); |