mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- fixed size clamping of sector lights to use 1024 as maximum, not 255 as inherited from ZDoomGL.
This commit is contained in:
parent
977d5988c5
commit
afa2888acb
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ void ADynamicLight::Tick()
|
|||
if (scale == 0.f) scale = 1.f;
|
||||
|
||||
intensity = Sector->lightlevel * scale;
|
||||
intensity = clamp<float>(intensity, 0.f, 255.f);
|
||||
intensity = clamp<float>(intensity, 0.f, 1024.f);
|
||||
|
||||
m_currentRadius = intensity;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue