Add NOFRICTION and NOFRICTIONBOUNCE flags

NOFRICTION disables all friction effects on the thing it's set on
(including the speed cap from water/crouching), and NOFRICTIONBOUNCE
disables the "bounce off walls on an icy floor" effect on the thing
it's set on.
This commit is contained in:
Ijon 2018-11-17 17:34:27 -06:00 committed by Christoph Oelckers
commit d2d684a35a
5 changed files with 13 additions and 4 deletions

View file

@ -319,6 +319,8 @@ static FFlagDef ActorFlagDefs[]=
DEFINE_FLAG(MF8, BLOCKASPLAYER, AActor, flags8),
DEFINE_FLAG(MF8, DONTFACETALKER, AActor, flags8),
DEFINE_FLAG(MF8, HITOWNER, AActor, flags8),
DEFINE_FLAG(MF8, NOFRICTION, AActor, flags8),
DEFINE_FLAG(MF8, NOFRICTIONBOUNCE, AActor, flags8),
// Effect flags
DEFINE_FLAG(FX, VISIBILITYPULSE, AActor, effects),