mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-25 05:21:02 +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;
|
break;
|
||||||
|
|
||||||
case NAME_floorglowcolor:
|
case NAME_floorglowcolor:
|
||||||
sec->planes[sector_t::floor].GlowColor = CheckInt(key);
|
sec->SetGlowColor(sector_t::floor, CheckInt(key));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case NAME_floorglowheight:
|
case NAME_floorglowheight:
|
||||||
sec->planes[sector_t::floor].GlowHeight = (float)CheckFloat(key);
|
sec->SetGlowHeight(sector_t::floor, (float)CheckFloat(key));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case NAME_ceilingglowcolor:
|
case NAME_ceilingglowcolor:
|
||||||
sec->planes[sector_t::ceiling].GlowColor = CheckInt(key);
|
sec->SetGlowColor(sector_t::ceiling, CheckInt(key));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case NAME_ceilingglowheight:
|
case NAME_ceilingglowheight:
|
||||||
sec->planes[sector_t::ceiling].GlowHeight = (float)CheckFloat(key);
|
sec->SetGlowHeight(sector_t::ceiling, (float)CheckFloat(key));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case NAME_Noattack:
|
case NAME_Noattack:
|
||||||
|
|
Loading…
Reference in a new issue