Fixed arg0str for dynamic light actors

This commit is contained in:
ZZYZX 2018-02-04 09:57:06 +02:00 committed by Rachael Alexanderson
parent 364ce773e3
commit ef867c3415

View file

@ -6101,6 +6101,9 @@ AActor *P_SpawnMapThing (FMapThing *mthing, int position)
if (mthing->arg0str != NAME_None)
{
PalEntry color = V_GetColor(nullptr, mthing->arg0str);
light->args[0] = color.r;
light->args[1] = color.g;
light->args[2] = color.b;
}
else if (light->lightflags & LF_SPOT)
{