mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +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))
|
||||
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