Custom Powers from LightAmp/Torch Don't Work

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
NeuralStunner
Posts: 253
Joined: Tue Dec 29, 2009 3:46
Location: IN SPACE
Contact:

Custom Powers from LightAmp/Torch Don't Work

Post by NeuralStunner »

Giving PowerLightAmp or PowerTorch from the PowerupGiver behaves as usual. However, making new Power types from either of of those simply fail to provide vision. Works fine in ZDoom's software renderer.

Here's the code I tested with:
Spoiler:
Hopefully this is not just my own problem. I also tested all the weay back to r566, and it wasn't working with then, either. So it's apparently not (as I had guessed) related to the recent changes regarding fake contrast...

No changes to lighting mode, fog mode, Fake Contrast mode, or even Enhanced Night Vision Mode made any difference.
Dean Koontz wrote:Human beings can always be relied upon to exert, with vigor, their God-given right to be stupid.
Spoiler: System Specs
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Custom Powers from LightAmp/Torch Don't Work

Post by Graf Zahl »

Yes, small oversight. It checked for the exact powerup class, not descendants.
User avatar
NeuralStunner
Posts: 253
Joined: Tue Dec 29, 2009 3:46
Location: IN SPACE
Contact:

Re: Custom Powers from LightAmp/Torch Don't Work

Post by NeuralStunner »

Ah, good to know it was that simple. :)
Dean Koontz wrote:Human beings can always be relied upon to exert, with vigor, their God-given right to be stupid.
Spoiler: System Specs
Locked

Return to “Closed Bugs”