[Fixed] Vertical thrust doesn't take invurnerability into...

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.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49225
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

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'.
User avatar
Ixnatifual
Posts: 2287
Joined: Fri Dec 12, 2003 6:44 pm

Post by Ixnatifual »

I think it's when you use IDDQD that you don't get pushed when hit.
Kuroshi
Posts: 68
Joined: Fri Oct 31, 2003 4:40 pm

Post by Kuroshi »

Nope, it happens either way, IDDQD, IDBEHOLDV, or grabbing an invulnerability sphere. At any rate, I wish Randy would get this fixed soon.

Return to “Closed Bugs [GZDoom]”