It seems my guesses about the cause of this were only partially correct. After fixing the stuff mentioned above it still didin't work. There's another problem. This is what I found with a little debugging:
AActor::DoSpecialDamage returns -1 if the player has the invulnerability powerup or MF2_INVULNERABLE. This is wrong if not in Hexen. In Doom and Heretic an invulnerable player gets the full thrust from the damage application. The damage itself is not applied but the code responsible for this check is still there in P_DamageMobj. For players in Doom and Heretic this function must always return 'damage'.
[Fixed] Vertical thrust doesn't take invurnerability into...
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.
-
- Lead GZDoom+Raze Developer
- Posts: 49225
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
-
- Posts: 2287
- Joined: Fri Dec 12, 2003 6:44 pm
-
- Posts: 68
- Joined: Fri Oct 31, 2003 4:40 pm