Mercurial > hg > openttd
changeset 6258:51ac8dd32194 draft
(svn r9067) -Fix [FS#637]: don't make owner signs transparent, as then you loose the information who it owns
author | truelight <truelight@openttd.org> |
---|---|
date | Thu, 08 Mar 2007 15:50:07 +0000 |
parents | d7d39048e2ee |
children | 4a39d6291d58 |
files | src/unmovable_cmd.cpp |
diffstat | 1 files changed, 1 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/unmovable_cmd.cpp +++ b/src/unmovable_cmd.cpp @@ -152,12 +152,7 @@ DrawClearLandTile(ti, 0); image = SPR_BOUGHT_LAND; - if (_display_opt & DO_TRANS_BUILDINGS) { - SETBIT(image, PALETTE_MODIFIER_TRANSPARENT); - pal = PALETTE_TO_TRANSPARENT; - } else { - pal = PLAYER_SPRITE_COLOR(GetTileOwner(ti->tile)); - } + pal = PLAYER_SPRITE_COLOR(GetTileOwner(ti->tile)); AddSortableSpriteToDraw( image, pal, ti->x + TILE_SIZE / 2, ti->y + TILE_SIZE / 2, 1, 1, 10, GetSlopeZ(ti->x + TILE_SIZE / 2, ti->y + TILE_SIZE / 2)