[Fixed]First piece of sigil does no damage?
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.
- chopkinsca
- Posts: 1325
- Joined: Thu Dec 11, 2003 5:03 pm
[.98]First piece of sigil does no damage?
Unless I'm not using it right, the first piece of the sigil doesn't hurt anything. It seems to work in .96 though.
- chopkinsca
- Posts: 1325
- Joined: Thu Dec 11, 2003 5:03 pm
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49228
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Here's the problem:
I think this should read 'damage!=0' instead as the comment above implies.
Code: Select all
// [RH] Missiles moving perfectly vertical need some X/Y movement, or they
// won't hurt anything. Don't do this if damage is 0! That way, you can
// still have missiles that go straight up and down through actors without
// damaging anything.
if ((flags & MF_MISSILE) && (momx|momy) == 0 && damage == 0)
{
momx = 1;
}