mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 16:51:31 +00:00
- added kgsws-cz's FBF_NOFLASH submission.
SVN r2655 (trunk)
This commit is contained in:
parent
399cfc4890
commit
88f0fa270a
2 changed files with 3 additions and 1 deletions
|
@ -996,6 +996,7 @@ enum FB_Flags
|
|||
FBF_NORANDOM = 2,
|
||||
FBF_EXPLICITANGLE = 4,
|
||||
FBF_NOPITCH = 8,
|
||||
FBF_NOFLASH = 16,
|
||||
};
|
||||
|
||||
DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_FireBullets)
|
||||
|
@ -1025,7 +1026,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_FireBullets)
|
|||
|
||||
if (Range == 0) Range = PLAYERMISSILERANGE;
|
||||
|
||||
static_cast<APlayerPawn *>(self)->PlayAttacking2 ();
|
||||
if (!(Flags & FBF_NOFLASH)) static_cast<APlayerPawn *>(self)->PlayAttacking2 ();
|
||||
|
||||
if (!(Flags & FBF_NOPITCH)) bslope = P_BulletSlope(self);
|
||||
bangle = self->angle;
|
||||
|
|
|
@ -24,6 +24,7 @@ const int FBF_USEAMMO = 1;
|
|||
const int FBF_NORANDOM = 2;
|
||||
const int FBF_EXPLICITANGLE = 4;
|
||||
const int FBF_NOPITCH = 8;
|
||||
const int FBF_NOFLASH = 16;
|
||||
|
||||
// Flags for A_SpawnItemEx
|
||||
const int SXF_TRANSFERTRANSLATION=1;
|
||||
|
|
Loading…
Reference in a new issue