diff options
author | truelight <truelight@openttd.org> | 2007-03-08 15:50:07 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-03-08 15:50:07 +0000 |
commit | aca3fb2b6ef69ae571b167d3071edd46d0ed383c (patch) | |
tree | cf019dced12a4d6477dfef411f662b2c52bf18cc | |
parent | 7b153e6356954b1ebcde3c17e0f31474d2973fc6 (diff) | |
download | openttd-aca3fb2b6ef69ae571b167d3071edd46d0ed383c.tar.xz |
(svn r9067) -Fix [FS#637]: don't make owner signs transparent, as then you loose the information who it owns
-rw-r--r-- | src/unmovable_cmd.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/unmovable_cmd.cpp b/src/unmovable_cmd.cpp index b531e6827..229f87a1b 100644 --- a/src/unmovable_cmd.cpp +++ b/src/unmovable_cmd.cpp @@ -152,12 +152,7 @@ static void DrawTile_Unmovable(TileInfo *ti) 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) |