mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +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,7 +5351,11 @@ void P_RailAttack(FRailParams *p)
|
|||
{
|
||||
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;
|
||||
if (puffDefaults != NULL) // is this even possible?
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue