mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 06:42:12 +00:00
- fixed: When the 3D floor init code was updated 5 years ago for Vavoom's latest changes to its 3D-floor implementation it accidentally set the 3D-floor's alpha as its desaturation.
This commit is contained in:
parent
7d7f146ce1
commit
d0e551060d
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue