(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

@@ -390,9 +390,9 @@ static void DrawWaterStuff(TileInfo *ti, const byte *t, uint32 palette, uint bas
for(wdts = (const WaterDrawTileStruct *)t; (byte)wdts->delta_x != 0x80; wdts++) {
image = wdts->image + base;
if (_display_opt & DO_TRANS_BUILDINGS) {
image |= palette;
} else {
image = (image & 0x3FFF) | 0x03224000;
} else {
image |= palette;
}
AddSortableSpriteToDraw(image, ti->x + wdts->delta_x, ti->y + wdts->delta_y, wdts->width, wdts->height, wdts->unk, ti->z + wdts->delta_z);
}