mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
- fixed: The rail attack only considered the puff's decal if it had ALWAYSPUFF set.
This commit is contained in:
parent
8f7038aa53
commit
057b746e58
1 changed files with 2 additions and 2 deletions
|
@ -5258,8 +5258,8 @@ void P_RailAttack(FRailParams *p)
|
||||||
if (puff && (trace.Line != NULL) && (trace.Line->special == Line_Horizon) && !(puff->flags3 & MF3_SKYEXPLODE))
|
if (puff && (trace.Line != NULL) && (trace.Line->special == Line_Horizon) && !(puff->flags3 & MF3_SKYEXPLODE))
|
||||||
puff->Destroy();
|
puff->Destroy();
|
||||||
}
|
}
|
||||||
if (puff != NULL && puffDefaults->flags7 & MF7_FORCEDECAL && puff->DecalGenerator)
|
if (puffDefaults != nullptr && puffDefaults->flags7 & MF7_FORCEDECAL && puffDefaults->DecalGenerator)
|
||||||
SpawnShootDecal(puff, trace);
|
SpawnShootDecal(puffDefaults, trace);
|
||||||
else
|
else
|
||||||
SpawnShootDecal(source, trace);
|
SpawnShootDecal(source, trace);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue