This commit is contained in:
Rachael Alexanderson 2017-02-04 02:56:18 -05:00
commit ebb8da563a
26 changed files with 521 additions and 990 deletions

View file

@ -261,7 +261,7 @@ void ADynamicLight::Tick()
case FlickerLight:
{
BYTE rnd = randLight();
int rnd = randLight();
float pct = specialf1 / 360.f;
m_currentRadius = float(args[LIGHT_INTENSITY + (rnd >= pct * 255)]);
@ -288,7 +288,7 @@ void ADynamicLight::Tick()
// These need some more work elsewhere
case ColorFlickerLight:
{
BYTE rnd = randLight();
int rnd = randLight();
float pct = specialf1/360.f;
m_currentRadius = m_Radius[rnd >= pct * 255];