- added a NOATTACK sector flag which prevents monsters from going to their attack states if present.

This commit is contained in:
Christoph Oelckers 2017-02-26 20:27:02 +01:00
commit 8cac2d8c84
5 changed files with 11 additions and 2 deletions

View file

@ -1658,6 +1658,10 @@ public:
sec->planes[sector_t::ceiling].GlowHeight = (float)CheckFloat(key);
break;
case NAME_Noattack:
Flag(sec->Flags, SECF_NOATTACK, key);
break;
case NAME_MoreIds:
// delay parsing of the tag string until parsing of the sector is complete
// This ensures that the ID is always the first tag in the list.