- the gl_fogmode hack is no longer needed

This commit is contained in:
Christoph Oelckers 2022-01-10 23:25:37 +01:00
parent aa0e558af2
commit f20bd94269
2 changed files with 0 additions and 4 deletions

View file

@ -3328,8 +3328,6 @@ int32_t renderDrawRoomsQ16(int32_t daposx, int32_t daposy, int32_t daposz,
pm_spritesortcnt = 0;
checkRotatedWalls();
if (gl_fogmode == 1) gl_fogmode = 2; // only radial fog works with Build's screwed up coordinate system.
// Update starting sector number (common to classic and Polymost).
// ADJUST_GLOBALCURSECTNUM.
if (!fromoutside)

View file

@ -316,8 +316,6 @@ void render_drawrooms(DCoreActor* playersprite, const vec3_t& position, int sect
{
checkRotatedWalls();
if (gl_fogmode == 1) gl_fogmode = 2; // still needed?
updatesector(position.X, position.Y, &sectnum);
if (sectnum < 0) return;