Made intensity of screen flashes tweakable.

Deprecation cleanup.
This commit is contained in:
Marisa the Magician 2019-04-20 13:25:53 +02:00
commit 8d72c5c78b
13 changed files with 42 additions and 36 deletions

View file

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