[not a bug] JumpIfNoAmmo() always passes when infiniteammo

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
DoomRater
Posts: 397
Joined: Tue Jul 19, 2005 4:14
Location: Programmer's Room, talking to Will Harvey
Contact:

[not a bug] JumpIfNoAmmo() always passes when infiniteammo

Post by DoomRater »

I'm trying to force the player to have to reload despite having infiniteammo turned on. I'm not sure it makes sense to always pass the ammo check when infinite ammo is on, even if there's no ammo.

Was that intentional? If so, I'll just rewrite the code to be more specific.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

The internal ammo check function always returns true with infinite ammo on (it has to for it to work) so yes, this is intentional. Infinite ammo means you always have enough ammo to shoot.
User avatar
DoomRater
Posts: 397
Joined: Tue Jul 19, 2005 4:14
Location: Programmer's Room, talking to Will Harvey
Contact:

Post by DoomRater »

Recoded instead.
Locked

Return to “Closed Bugs”