From 9d8a9bc981c2c65091fadb91a08bf4ea70930b67 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Thu, 18 Mar 2010 17:50:00 +0000 Subject: [PATCH] - Reverted the part of r2226 than reverted r2205 (accidentally, I assume). SVN r2227 (trunk) --- src/textures/ddstexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textures/ddstexture.cpp b/src/textures/ddstexture.cpp index 9c8eaf9783..f26180f029 100644 --- a/src/textures/ddstexture.cpp +++ b/src/textures/ddstexture.cpp @@ -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); }