mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-20 18:42:17 +00:00
- fixed: The rail attack only considered the puff's decal if it had ALWAYSPUFF set.
This commit is contained in:
parent
afde7be261
commit
0ed3ac740a
1 changed files with 2 additions and 2 deletions
|
@ -5267,8 +5267,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