From d37cd63fdaf5febeaab62bb62bcfd662a26c0dfc Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 16 Aug 2018 23:05:04 +0200 Subject: [PATCH] - use setter methods for glow initialization of sectors. --- src/p_udmf.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/p_udmf.cpp b/src/p_udmf.cpp index a2b45fe7f..c7268318c 100644 --- a/src/p_udmf.cpp +++ b/src/p_udmf.cpp @@ -1675,19 +1675,19 @@ public: break; case NAME_floorglowcolor: - sec->planes[sector_t::floor].GlowColor = CheckInt(key); + sec->SetGlowColor(sector_t::floor, CheckInt(key)); break; case NAME_floorglowheight: - sec->planes[sector_t::floor].GlowHeight = (float)CheckFloat(key); + sec->SetGlowHeight(sector_t::floor, (float)CheckFloat(key)); break; case NAME_ceilingglowcolor: - sec->planes[sector_t::ceiling].GlowColor = CheckInt(key); + sec->SetGlowColor(sector_t::ceiling, CheckInt(key)); break; case NAME_ceilingglowheight: - sec->planes[sector_t::ceiling].GlowHeight = (float)CheckFloat(key); + sec->SetGlowHeight(sector_t::ceiling, (float)CheckFloat(key)); break; case NAME_Noattack: