- adjustments for floating point changes.
This commit is contained in:
parent
48afdd7dcb
commit
b54b34a512
19 changed files with 107 additions and 91 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#define __GLC_DATA_H
|
||||
|
||||
#include "doomtype.h"
|
||||
#include "vectors.h"
|
||||
|
||||
struct GLRenderSettings
|
||||
{
|
||||
|
|
|
|||
|
|
@ -361,7 +361,7 @@ static void CollectPortalSectors(FPortalMap &collection)
|
|||
ASkyViewpoint *SkyBox = barrier_cast<ASkyViewpoint*>(sec->SkyBoxes[j]);
|
||||
if (SkyBox != NULL && SkyBox->bAlways && SkyBox->Mate != NULL)
|
||||
{
|
||||
FPortalID id = { SkyBox->X() - SkyBox->Mate->X(), SkyBox->Y() - SkyBox->Mate->Y() };
|
||||
FPortalID id = { SkyBox->_f_X() - SkyBox->Mate->_f_X(), SkyBox->_f_Y() - SkyBox->Mate->_f_Y() };
|
||||
|
||||
FPortalSectors &sss = collection[id];
|
||||
FPortalSector ss = { sec, j };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue