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