diff --git a/src/p_sight.cpp b/src/p_sight.cpp index 9337a24123..f00e59e8ff 100644 --- a/src/p_sight.cpp +++ b/src/p_sight.cpp @@ -116,6 +116,7 @@ public: sightend = t2->PosRelative(task->portalgroup); sightstart.Z += t1->Height * 0.75; + portalgroup = task->portalgroup; Startfrac = task->Frac; Trace = { sightstart.X, sightstart.Y, sightend.X - sightstart.X, sightend.Y - sightstart.Y }; Lastztop = Lastzbottom = sightstart.Z;