diff options
author | rubidium <rubidium@openttd.org> | 2009-02-09 02:57:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-02-09 02:57:15 +0000 |
commit | 89e1afdaa0bfea874d86a8dc2590d49c257ec611 (patch) | |
tree | 211b57e3a81eed5791f5b6b9709252af6f7d8503 /src/station_cmd.cpp | |
parent | c7f3daacbf57e8213550f5bca3226565cbafe5e3 (diff) | |
download | openttd-89e1afdaa0bfea874d86a8dc2590d49c257ec611.tar.xz |
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r-- | src/station_cmd.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 9867abe4d..103aadeeb 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -2330,7 +2330,7 @@ static void DrawTile_Station(TileInfo *ti) SpriteID palette; if (IsValidCompanyID(owner)) { - palette = COMPANY_SPRITE_COLOR(owner); + palette = COMPANY_SPRITE_COLOUR(owner); } else { /* Some stations are not owner by a company, namely oil rigs */ palette = PALETTE_TO_GREY; @@ -2437,7 +2437,7 @@ static void DrawTile_Station(TileInfo *ti) void StationPickerDrawSprite(int x, int y, StationType st, RailType railtype, RoadType roadtype, int image) { int32 total_offset = 0; - SpriteID pal = COMPANY_SPRITE_COLOR(_local_company); + SpriteID pal = COMPANY_SPRITE_COLOUR(_local_company); const DrawTileSprites *t = &_station_display_datas[st][image]; if (railtype != INVALID_RAILTYPE) { @@ -2446,7 +2446,7 @@ void StationPickerDrawSprite(int x, int y, StationType st, RailType railtype, Ro } SpriteID img = t->ground.sprite; - DrawSprite(img + total_offset, HasBit(img, PALETTE_MODIFIER_COLOR) ? pal : PAL_NONE, x, y); + DrawSprite(img + total_offset, HasBit(img, PALETTE_MODIFIER_COLOUR) ? pal : PAL_NONE, x, y); if (roadtype == ROADTYPE_TRAM) { DrawSprite(SPR_TRAMWAY_TRAM + (t->ground.sprite == SPR_ROAD_PAVED_STRAIGHT_X ? 1 : 0), PAL_NONE, x, y); |