diff --git a/src/gl/scene/gl_walls.cpp b/src/gl/scene/gl_walls.cpp index 132745563..32d4ff98a 100644 --- a/src/gl/scene/gl_walls.cpp +++ b/src/gl/scene/gl_walls.cpp @@ -176,7 +176,7 @@ void GLWall::PutPortal(int ptype) if (!portal) { // 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); } portal->AddLine(this); diff --git a/src/r_sky.h b/src/r_sky.h index 6881f4943..9d33e82a3 100644 --- a/src/r_sky.h +++ b/src/r_sky.h @@ -24,13 +24,6 @@ #include "textures/textures.h" -enum -{ - SKYBOX_MAP = 0, - SKYBOX_PLANE, - SKYBOX_HORIZON -}; - extern FTextureID skyflatnum; extern fixed_t sky1cyl, sky2cyl; extern FTextureID sky1texture, sky2texture;