- fixed some issues with dynamic lights caused by the floatification changes

This commit is contained in:
Christoph Oelckers 2016-03-24 13:38:37 +01:00
commit 379d5bc0c5
5 changed files with 32 additions and 36 deletions

View file

@ -1469,7 +1469,7 @@ void P_SpawnSpecials (void)
else if (lines[i].args[1] == 3 || lines[i].args[1] == 4)
{
line_t *line = &lines[i];
ASkyViewpoint *origin = Spawn<ASkyViewpoint>(0, 0, 0, NO_REPLACE);
ASkyViewpoint *origin = Spawn<ASkyViewpoint>();
origin->Sector = line->frontsector;
origin->special1 = line->args[1] == 3? SKYBOX_PLANE:SKYBOX_HORIZON;