mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- Fixed player sprites not being affected by sector light level in the classic software renderer.
This commit is contained in:
parent
67169b80e5
commit
634ef60c78
1 changed files with 3 additions and 0 deletions
|
@ -205,7 +205,10 @@ namespace swrenderer
|
|||
|
||||
int shade = LightVisibility::LightLevelToShade(lightlevel, foggy, thread->Viewport.get());
|
||||
if (psprite)
|
||||
{
|
||||
visibility = 0;
|
||||
shade -= 24 * FRACUNIT;
|
||||
}
|
||||
|
||||
BaseColormap = basecolormap;
|
||||
ColormapNum = GETPALOOKUP(visibility, shade);
|
||||
|
|
Loading…
Reference in a new issue