(svn r2658) -Codechange: Use MAKE_TRANSPARENT to display a transparented sprite

This commit is contained in:
celestar
2005-07-20 22:05:13 +00:00
parent 18a93cca3d
commit 85f06d6e7b
10 changed files with 21 additions and 17 deletions

View File

@@ -2188,7 +2188,7 @@ static void DrawTile_Station(TileInfo *ti)
image = dtss->image + relocation;
image += type_offset;
if (_display_opt & DO_TRANS_BUILDINGS) {
image = (image & 0x3FFF) | 0x03224000;
MAKE_TRANSPARENT(image);
} else {
if (image&0x8000) image |= image_or_modificator;
}