- Reverted the part of r2226 than reverted r2205 (accidentally, I assume).

SVN r2227 (trunk)
This commit is contained in:
Randy Heit 2010-03-18 17:50:00 +00:00
parent d69eb3acd1
commit 9d8a9bc981

View file

@ -831,7 +831,7 @@ void FDDSTexture::DecompressDXT5 (FWadLump &lump, bool premultiplied, BYTE *tcbu
break;
}
// Alpha values are stored in 3 bytes for 2 rows
if ((y & 0) == 0)
if ((y & 1) == 0)
{
yalphaslice = block[y*3] | (block[y*3+1] << 8) | (block[y*3+2] << 16);
}