mirror of https://github.com/OpenTTD/OpenTTD
(svn r9067) -Fix [FS#637]: don't make owner signs transparent, as then you loose the information who it owns
parent
7b153e6356
commit
aca3fb2b6e
|
@ -152,12 +152,7 @@ static void DrawTile_Unmovable(TileInfo *ti)
|
||||||
DrawClearLandTile(ti, 0);
|
DrawClearLandTile(ti, 0);
|
||||||
|
|
||||||
image = SPR_BOUGHT_LAND;
|
image = SPR_BOUGHT_LAND;
|
||||||
if (_display_opt & DO_TRANS_BUILDINGS) {
|
pal = PLAYER_SPRITE_COLOR(GetTileOwner(ti->tile));
|
||||||
SETBIT(image, PALETTE_MODIFIER_TRANSPARENT);
|
|
||||||
pal = PALETTE_TO_TRANSPARENT;
|
|
||||||
} else {
|
|
||||||
pal = PLAYER_SPRITE_COLOR(GetTileOwner(ti->tile));
|
|
||||||
}
|
|
||||||
AddSortableSpriteToDraw(
|
AddSortableSpriteToDraw(
|
||||||
image, pal,
|
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)
|
ti->x + TILE_SIZE / 2, ti->y + TILE_SIZE / 2, 1, 1, 10, GetSlopeZ(ti->x + TILE_SIZE / 2, ti->y + TILE_SIZE / 2)
|
||||||
|
|
Loading…
Reference in New Issue