- Fixed: clearflags did not clear flags6.

SVN r1692 (trunk)
This commit is contained in:
Randy Heit 2009-06-30 21:35:14 +00:00
parent bd4496a582
commit 12b2905993
2 changed files with 7 additions and 2 deletions

View file

@ -1,4 +1,5 @@
June 30, 2009
- Fixed: clearflags did not clear flags6.
- Added A_SetAngle, A_SetPitch, A_ScaleVelocity, and A_ChangeVelocity.
- Enough with this "momentum" garbage. What Doom calls "momentum" is really
velocity, and now it's known as such. The actor variables momx/momy/momz

View file

@ -1011,7 +1011,11 @@ DEFINE_PROPERTY(species, S, Actor)
//==========================================================================
DEFINE_PROPERTY(clearflags, 0, Actor)
{
defaults->flags=defaults->flags3=defaults->flags4=defaults->flags5=0;
defaults->flags =
defaults->flags3 =
defaults->flags4 =
defaults->flags5 =
defaults->flags6 = 0;
defaults->flags2 &= MF2_ARGSDEFINED; // this flag must not be cleared
}