1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-29 23:24:31 +01:00

(svn r12869) [0.6] -Backport from trunk r12714, r12708, r12674, r12577, r12553:

- Fix: Do not move windows below the toolbar on resizes unless they would go behind the toolbar [FS#1904] (r12714)
- Fix: Increase default sound buffer size only for Vista [FS#1914] (r12708)
- Fix: Colour remaps on station sprites only worked for company colours [FS#1902] (r12674)
- Fix: The convert signal button disallowed signal dragging when the signal GUI was closed (r12577)
- Fix: Redraw the signal GUI when the signal drag density changes in the patch settings and vice versa (r12553)
This commit is contained in:
rubidium
2008-04-24 12:36:18 +00:00
parent c973bd87ce
commit f126c2e66f
6 changed files with 42 additions and 10 deletions

View File

@@ -2151,10 +2151,14 @@ static void DrawTile_Station(TileInfo *ti)
}
SpriteID pal;
if (!(!HasBit(image, SPRITE_MODIFIER_OPAQUE) && IsTransparencySet(TO_BUILDINGS)) && HasBit(image, PALETTE_MODIFIER_COLOR)) {
pal = palette;
if (HasBit(image, PALETTE_MODIFIER_TRANSPARENT) || HasBit(image, PALETTE_MODIFIER_COLOR)) {
if (dtss->image.pal > 0) {
pal = dtss->image.pal;
} else {
pal = palette;
}
} else {
pal = dtss->image.pal;
pal = PAL_NONE;
}
if ((byte)dtss->delta_z != 0x80) {