mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-02 22:01:41 +00:00
Address Graf's comment
This commit is contained in:
parent
a89d32c850
commit
ffd8b5ed5a
1 changed files with 5 additions and 1 deletions
|
@ -5351,6 +5351,10 @@ void P_RailAttack(FRailParams *p)
|
||||||
{
|
{
|
||||||
hitpuff = P_SpawnPuff(source, puffclass, hitpos, hitangle, hitangle - 90, 1, actorpuffflags, hitactor);
|
hitpuff = P_SpawnPuff(source, puffclass, hitpos, hitangle, hitangle - 90, 1, actorpuffflags, hitactor);
|
||||||
}
|
}
|
||||||
|
// https://github.com/coelckers/gzdoom/pull/1668#pullrequestreview-1039431156
|
||||||
|
if (!hitpuff) {
|
||||||
|
hitpuff = thepuff;
|
||||||
|
}
|
||||||
|
|
||||||
int dmgFlagPass = DMG_INFLICTOR_IS_PUFF;
|
int dmgFlagPass = DMG_INFLICTOR_IS_PUFF;
|
||||||
if (puffDefaults != NULL) // is this even possible?
|
if (puffDefaults != NULL) // is this even possible?
|
||||||
|
|
Loading…
Reference in a new issue