- added a few missing tildes.

This commit is contained in:
Christoph Oelckers 2016-11-22 13:03:46 +01:00
parent 03a02a2036
commit ab5c11064a
2 changed files with 3 additions and 3 deletions

View file

@ -1475,7 +1475,7 @@ static int PatchFrame (int frameNum)
info->Misc1 = misc1;
info->Frame = frame & 0x3f;
if (frame & 0x8000) info->StateFlags |= STF_FULLBRIGHT;
else info->StateFlags &= STF_FULLBRIGHT;
else info->StateFlags &= ~STF_FULLBRIGHT;
}
return result;

View file

@ -938,13 +938,13 @@ int FStateDefinitions::AddStates(FState *state, const char *framechars, const FS
state->Frame = frame;
if (noframe) state->StateFlags |= STF_SAMEFRAME;
else state->StateFlags &= STF_SAMEFRAME;
else state->StateFlags &= ~STF_SAMEFRAME;
StateArray.Push(*state);
SourceLines.Push(sc);
++count;
// NODELAY flag is not carried past the first state
state->StateFlags &= STF_NODELAY;
state->StateFlags &= ~STF_NODELAY;
}
laststate = &StateArray[StateArray.Size() - 1];
laststatebeforelabel = laststate;