- removed redundant SKYBOX enum.

This commit is contained in:
Christoph Oelckers 2016-02-16 10:14:37 +01:00
parent 9608252873
commit c69fd3ac80
2 changed files with 1 additions and 8 deletions

View file

@ -176,7 +176,7 @@ void GLWall::PutPortal(int ptype)
if (!portal) if (!portal)
{ {
// either a regular skybox or an Eternity-style horizon // either a regular skybox or an Eternity-style horizon
if (skybox->special1 != SKYBOX_MAP) portal = new GLEEHorizonPortal(skybox); if (skybox->special1 != SKYBOX_SKYVIEWPOINT) portal = new GLEEHorizonPortal(skybox);
else portal = new GLSkyboxPortal(skybox); else portal = new GLSkyboxPortal(skybox);
} }
portal->AddLine(this); portal->AddLine(this);

View file

@ -24,13 +24,6 @@
#include "textures/textures.h" #include "textures/textures.h"
enum
{
SKYBOX_MAP = 0,
SKYBOX_PLANE,
SKYBOX_HORIZON
};
extern FTextureID skyflatnum; extern FTextureID skyflatnum;
extern fixed_t sky1cyl, sky2cyl; extern fixed_t sky1cyl, sky2cyl;
extern FTextureID sky1texture, sky2texture; extern FTextureID sky1texture, sky2texture;