summaryrefslogtreecommitdiff
path: root/src/unmovable_cmd.cpp
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-03-08 15:50:07 +0000
committertruelight <truelight@openttd.org>2007-03-08 15:50:07 +0000
commit05eb676f22c73cf870b8abec383985641bd815de (patch)
treecf019dced12a4d6477dfef411f662b2c52bf18cc /src/unmovable_cmd.cpp
parentc5a6a4458bcfb693e90f94b6d14d221229e90487 (diff)
downloadopenttd-05eb676f22c73cf870b8abec383985641bd815de.tar.xz
(svn r9067) -Fix [FS#637]: don't make owner signs transparent, as then you loose the information who it owns
Diffstat (limited to 'src/unmovable_cmd.cpp')
-rw-r--r--src/unmovable_cmd.cpp7
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)