PUFFGETSOWNER blood vs. the world

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Zhs2
Posts: 1269
Joined: Fri Nov 07, 2008 3:29 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: Maryland, USA, but probably also in someone's mod somewhere
Contact:

PUFFGETSOWNER blood vs. the world

Post by Zhs2 »

+PUFFGETSOWNER on an actor spawned by P_SpawnBlood is supposed to set the spawned blood actor's target field to the actor the blood originated from, but the target field won't be set on such a blood actor when the inflictor of the damage isn't another actor, e.g. damage is dealt by a crushing sector or polyobject. I suspect this problem arises because of something deeper in how damage mechanics work, so I'm not sure just how unintentional this behavior may be. As it is, this can be easily tested with the simple ZScript lump below on MAP06, the mastermind crusher (versus shooting any actor with your pistol or something).
Attachments
zscript.txt
It's just one lump, didn't bother to zip it
(1.12 KiB) Downloaded 29 times
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: PUFFGETSOWNER blood vs. the world

Post by _mental_ »

Fixed in a3236aa. Please note that damaging polyobjects don't spawn blood actors, only decals.
Post Reply

Return to “Closed Bugs [GZDoom]”