- fixed: The sight checker's portalgroup variable was not initialized.
- got rid of glsegextras. This was probably one of the most ill-conceived means to save some memory in ZDoom, but now, when a pure software rendered engine no longer needs to be considered it's just totally useless to keep this mess in.
This commit is contained in:
parent
12037fdc95
commit
b9ac44e8f2
8 changed files with 39 additions and 107 deletions
|
|
@ -117,6 +117,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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue