1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-27 00:19:09 +00:00

(svn r9067) -Fix [FS#637]: don't make owner signs transparent, as then you loose the information who it owns

This commit is contained in:
truelight
2007-03-08 15:50:07 +00:00
parent 7b153e6356
commit aca3fb2b6e

View File

@@ -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)