mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-13 20:42:11 +00:00
- avoid propagating owner flags where easily doable.
This particular case is done a lot better by setting a special flag.
This commit is contained in:
parent
59659bc284
commit
f6fe639233
2 changed files with 3 additions and 2 deletions
|
@ -880,7 +880,7 @@ bool bloodpool(DDukeActor* actor, bool puke)
|
|||
if (actor->temp_data[2] < 32)
|
||||
{
|
||||
actor->temp_data[2]++;
|
||||
if (attackerflag(actor, SFLAG_FLAMMABLEPOOLEFFECT))
|
||||
if (actor->spr.detail == 1)
|
||||
{
|
||||
if (actor->spr.scale.X < 1 && actor->spr.scale.Y < 1)
|
||||
{
|
||||
|
@ -916,7 +916,7 @@ bool bloodpool(DDukeActor* actor, bool puke)
|
|||
if (actor->temp_data[1] == 1) return false;
|
||||
actor->temp_data[1] = 1;
|
||||
|
||||
if (attackerflag(actor, SFLAG_FLAMMABLEPOOLEFFECT))
|
||||
if (actor->spr.detail == 1)
|
||||
ps[p].footprintcount = 10;
|
||||
else ps[p].footprintcount = 3;
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@ class DukeFlammable : DukeActor
|
|||
{
|
||||
spawned.pal = 2;
|
||||
spawned.shade = 127;
|
||||
spawned.detail = 1;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue