- 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

@ -630,7 +630,7 @@ int P_GetFriction(const AActor *mo, int *frictionfactor)
}
}
if (!(sec->special & FRICTION_MASK) &&
if (!(sec->Flags & SECF_FRICTION) &&
Terrains[TerrainTypes[sec->GetTexture(sector_t::floor)]].Friction == 0)
{
continue;