mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +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;
|
||||
}
|
||||
|
||||
int puffFlags = (flags & SF_NORANDOMPUFFZ) ? LAF_NORANDOMPUFFZ : 0;
|
||||
|
||||
Actor puff;
|
||||
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)
|
||||
{
|
||||
|
|
|
@ -36,6 +36,7 @@ enum ESawFlags
|
|||
SF_NOPULLIN = 32,
|
||||
SF_NOTURN = 64,
|
||||
SF_STEALARMOR = 128,
|
||||
SF_NORANDOMPUFFZ = 256,
|
||||
};
|
||||
|
||||
// Flags for A_BFGSpray
|
||||
|
|
Loading…
Reference in a new issue