https://github.com/ZDoom/gzdoom/blob/c0 ... ch.zs#L324
Which reads: target.DamageMobj (null, victim, 3, 'Melee');
Should be: victim.DamageMobj (null, target, 3, 'Melee');
Because the syntax for DamageMobj is
int DamageMobj(Actor inflictor, Actor source, int damage, Name mod, int flags = 0, double angle = 0);
Source: https://github.com/ZDoom/gzdoom/blob/c0 ... or.zs#L825
In this context, the source actor "target" is the whirlwind's owner, the ironlich
Whirlwind's DoSpecialDamage()'s DamageMobj() mixup
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.
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.