- ... and finally the push flag.

This commit is contained in:
Christoph Oelckers 2016-01-06 02:05:39 +01:00
commit d34077a3ba
4 changed files with 12 additions and 5 deletions

View file

@ -418,7 +418,11 @@ void P_SerializeWorld (FArchive &arc)
{
sec->Flags |= SECF_FRICTION;
}
sec->special &= ~(SECRET_MASK|FRICTION_MASK);
if (sec->special & PUSH_MASK)
{
sec->Flags |= SECF_PUSH;
}
sec->special &= ~(SECRET_MASK|FRICTION_MASK|PUSH_MASK);
}
arc << sec->interpolations[0]
<< sec->interpolations[1]