(svn r9067) -Fix [FS#637]: don't make owner signs transparent, as then you loose the information who it owns
authortruelight
Thu, 08 Mar 2007 15:50:07 +0000
changeset 6584 85b9e0da5754
parent 6583 82012e77b10c
child 6585 7da94b26498a
(svn r9067) -Fix [FS#637]: don't make owner signs transparent, as then you loose the information who it owns
src/unmovable_cmd.cpp
--- a/src/unmovable_cmd.cpp	Thu Mar 08 14:34:32 2007 +0000
+++ b/src/unmovable_cmd.cpp	Thu Mar 08 15:50:07 2007 +0000
@@ -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)