diff --git a/src/p_3dfloors.cpp b/src/p_3dfloors.cpp index 95ced549a..91153715a 100644 --- a/src/p_3dfloors.cpp +++ b/src/p_3dfloors.cpp @@ -253,10 +253,11 @@ static int P_Set3DFloor(line_t * line, int param, int param2, int alpha) l->frontsector->ColorMap = GetSpecialLights (l->frontsector->ColorMap->Color, (unsigned int)(vavoomcolors[l->args[0]]&VC_COLORMASK), - (unsigned int)(vavoomcolors[l->args[0]]&VC_ALPHAMASK)>>24); - // l->frontsector->ColorMap->Desaturate); + l->frontsector->ColorMap->Desaturate); + + alpha = (int)((unsigned int)(vavoomcolors[l->args[0]]&VC_ALPHAMASK)>>24); } - alpha=(alpha*255)/100; + else alpha=(alpha*255)/100; break; } }