From c114113fe8afc9638cf8d10decb049a740ba5825 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sat, 22 Dec 2012 00:26:26 +0000 Subject: [PATCH] - Fixed: Sky floors should not be drawn in the textured automap. SVN r3997 (trunk) --- src/am_map.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/am_map.cpp b/src/am_map.cpp index 126ab733a..335644b86 100644 --- a/src/am_map.cpp +++ b/src/am_map.cpp @@ -40,6 +40,7 @@ #include "c_bind.h" #include "farchive.h" #include "r_renderer.h" +#include "r_sky.h" #include "m_cheat.h" #include "i_system.h" @@ -1717,6 +1718,11 @@ void AM_drawSubsectors() colormap = light->extra_colormap; } #endif + if (maptex == skyflatnum) + { + continue; + } + originx = f_x + ((originpt.x - m_x) * scale / float(1 << 24)); originy = f_y + (f_h - (originpt.y - m_y) * scale / float(1 << 24)); // Apply the floor's rotation to the texture origin.