Revert all "global level removal" changes, as this concept is being discarded in GZDoom.

Keep a couple changes from that commit, though, such as the switch to legacy render style tags in Screen API calls.
This commit is contained in:
Marisa the Magician 2019-01-24 21:09:17 +01:00
commit ee0cf53e9b
16 changed files with 74 additions and 76 deletions

View file

@ -170,7 +170,7 @@ Class Razor2AltLight : DynamicLight
override void Tick()
{
Super.Tick();
if ( isFrozen() ) return;
if ( globalfreeze || level.frozen ) return;
args[LIGHT_RED] = int(255*lifetime);
args[LIGHT_GREEN] = int(240*lifetime);
args[LIGHT_BLUE] = int(224*lifetime);