Archvile bleeds when hurting target

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
Fishytza
Posts: 781
Joined: Wed Feb 23, 2011 11:04 am
Preferred Pronouns: No Preference
Contact:

Archvile bleeds when hurting target

Post by Fishytza »

This is especially noticeable if the archvile is next to a wall and attacks you several times in a row if 'sv_fastmonsters' is 'true'. After a while there are several blood splats behind the archvile, on said wall.

Looking at the code, I think I see why:
https://github.com/coelckers/gzdoom/blo ... e.txt#L139
Within A_VileAttack

Code: Select all

TraceBleed (newdam > 0 ? newdam : initialdmg, targ);
should be

Code: Select all

targ.TraceBleed (newdam > 0 ? newdam : initialdmg, self);
shouldn't it?
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: Archvile bleeds when hurting target

Post by _mental_ »

Thanks, fixed in 88deddb.
Post Reply

Return to “Closed Bugs [GZDoom]”