- added kgsws-cz's FBF_NOFLASH submission.

SVN r2655 (trunk)
This commit is contained in:
Christoph Oelckers 2010-08-31 21:24:03 +00:00
parent 399cfc4890
commit 88f0fa270a
2 changed files with 3 additions and 1 deletions

View file

@ -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;

View file

@ -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;