mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
- use setter methods for glow initialization of sectors.
This commit is contained in:
parent
00c8c6e3b2
commit
d37cd63fda
1 changed files with 4 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue