mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 05:01:41 +00:00
- Fixed: clearflags did not clear flags6.
SVN r1692 (trunk)
This commit is contained in:
parent
bd4496a582
commit
12b2905993
2 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -1011,8 +1011,12 @@ DEFINE_PROPERTY(species, S, Actor)
|
|||
//==========================================================================
|
||||
DEFINE_PROPERTY(clearflags, 0, Actor)
|
||||
{
|
||||
defaults->flags=defaults->flags3=defaults->flags4=defaults->flags5=0;
|
||||
defaults->flags2&=MF2_ARGSDEFINED; // this flag must not be cleared
|
||||
defaults->flags =
|
||||
defaults->flags3 =
|
||||
defaults->flags4 =
|
||||
defaults->flags5 =
|
||||
defaults->flags6 = 0;
|
||||
defaults->flags2 &= MF2_ARGSDEFINED; // this flag must not be cleared
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
Loading…
Reference in a new issue