mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-22 12:01:13 +00:00
- Added NORANDOMPUFFZ flag to A_Saw
This commit is contained in:
parent
56a387ac82
commit
ffb4c52c96
2 changed files with 4 additions and 1 deletions
|
@ -78,9 +78,11 @@ extend class StateProvider
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int puffFlags = (flags & SF_NORANDOMPUFFZ) ? LAF_NORANDOMPUFFZ : 0;
|
||||||
|
|
||||||
Actor puff;
|
Actor puff;
|
||||||
int actualdamage;
|
int actualdamage;
|
||||||
[puff, actualdamage] = LineAttack (ang, range, slope, damage, 'Melee', pufftype, false, t);
|
[puff, actualdamage] = LineAttack (ang, range, slope, damage, 'Melee', pufftype, puffFlags, t);
|
||||||
|
|
||||||
if (!t.linetarget)
|
if (!t.linetarget)
|
||||||
{
|
{
|
||||||
|
|
|
@ -36,6 +36,7 @@ enum ESawFlags
|
||||||
SF_NOPULLIN = 32,
|
SF_NOPULLIN = 32,
|
||||||
SF_NOTURN = 64,
|
SF_NOTURN = 64,
|
||||||
SF_STEALARMOR = 128,
|
SF_STEALARMOR = 128,
|
||||||
|
SF_NORANDOMPUFFZ = 256,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Flags for A_BFGSpray
|
// Flags for A_BFGSpray
|
||||||
|
|
Loading…
Reference in a new issue