The Weredragon's fireball trail never did damage in the original Heretic. (at least I don't think it did, it's been so long since I've played the original versions... since ZDoom supported all games)
This trail is damaging the Weredragon, and it is killing itself in around 15-20 shots.
[Fixed] Weredragon (beast) kills itself
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.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49226
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
The trail shouldn't move and hence shouldn't do any damage. Its damage property is probably just a leftover from early development and should be set to 0.
And here's the problem:
This code in AActor::Tick automatically gives a projectile some momentum so that collision checks are performed for missiles that are moving only vertically. Needless to say, it should not do that for any object that doesn't move at all! (Yes, it's a recent fix for a well known problem!)
And here's the problem:
Code: Select all
// [RH] Missiles moving perfectly vertical need some X/Y movement, or they
// won't hurt anything.
if ((flags & MF_MISSILE) && (momx|momy) == 0)
{
momx = 1;
}