- moved friction flag from special to Flags as well.

This commit is contained in:
Christoph Oelckers 2016-01-06 02:01:59 +01:00
commit 3ffcec3eb3
4 changed files with 15 additions and 6 deletions

View file

@ -413,8 +413,12 @@ void P_SerializeWorld (FArchive &arc)
if (sec->special & SECRET_MASK)
{
sec->Flags |= SECF_SECRET;
sec->special &= ~SECRET_MASK;
}
if (sec->special & FRICTION_MASK)
{
sec->Flags |= SECF_FRICTION;
}
sec->special &= ~(SECRET_MASK|FRICTION_MASK);
}
arc << sec->interpolations[0]
<< sec->interpolations[1]