(svn r787) Invert the sense of the DO_TRANS_BUILDINGS flag to be consistent with its own name and all other DO_* flags.

Now it is active-true.
This commit is contained in:
tron
2004-11-23 22:36:11 +00:00
parent 06158be674
commit e8537f5512
13 changed files with 27 additions and 27 deletions

View File

@@ -33,7 +33,7 @@ static void DrawTile_Unmovable(TileInfo *ti)
image = PLAYER_SPRITE_COLOR(_map_owner[ti->tile]);
image += 0x8A48;
if (!(_display_opt & DO_TRANS_BUILDINGS))
if (_display_opt & DO_TRANS_BUILDINGS)
image = (image & 0x3FFF) | 0x3224000;
AddSortableSpriteToDraw(image, ti->x, ti->y, 16, 16, 25, ti->z);
} else if (ti->map5 == 3) {
@@ -59,7 +59,7 @@ static void DrawTile_Unmovable(TileInfo *ti)
dtus = &_draw_tile_unmovable_data[ti->map5];
image = dtus->image;
if (!(_display_opt & DO_TRANS_BUILDINGS))
if (_display_opt & DO_TRANS_BUILDINGS)
image = (image & 0x3FFF) | 0x3224000;
AddSortableSpriteToDraw(image,
@@ -82,9 +82,9 @@ static void DrawTile_Unmovable(TileInfo *ti)
foreach_draw_tile_seq(dtss, t->seq) {
image = dtss->image;
if (_display_opt & DO_TRANS_BUILDINGS) {
image |= ormod;
} else {
image = (image & 0x3FFF) | 0x03224000;
} else {
image |= ormod;
}
AddSortableSpriteToDraw(image, ti->x + dtss->delta_x, ti->y + dtss->delta_y,
dtss->width, dtss->height, dtss->unk, ti->z + dtss->delta_z);