From c69fd3ac80d25ba0196e1221e2a59a73131daf44 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 16 Feb 2016 10:14:37 +0100 Subject: [PATCH] - removed redundant SKYBOX enum. --- src/gl/scene/gl_walls.cpp | 2 +- src/r_sky.h | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) 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;