Exposed MTF_NOCOUNT to UDMF

This commit is contained in:
PaulyB 2020-04-27 00:35:07 -07:00 committed by Christoph Oelckers
parent 3377486b8e
commit 8d1451689b
2 changed files with 5 additions and 0 deletions

View file

@ -462,6 +462,7 @@ xx(Friend)
xx(Strifeally) xx(Strifeally)
xx(Standing) xx(Standing)
xx(Countsecret) xx(Countsecret)
xx(NoCount)
xx(Score) xx(Score)
xx(Roll) xx(Roll)
xx(Scale) xx(Scale)

View file

@ -637,6 +637,10 @@ public:
Flag(th->flags, MTF_SECRET, key); Flag(th->flags, MTF_SECRET, key);
break; break;
case NAME_NoCount:
Flag(th->flags, MTF_NOCOUNT, key);
break;
case NAME_Floatbobphase: case NAME_Floatbobphase:
CHECK_N(Zd | Zdt) CHECK_N(Zd | Zdt)
th->FloatbobPhase = CheckInt(key); th->FloatbobPhase = CheckInt(key);