The proposed function simply checks SV_INFINITEAMMO first and then calls TakeInventory if it is false. Needed for certain reloading tricks.
(A_GiveAmmo sounds like it won't happen anytime soon, because it would require too much codework, but this one's braindead simple)
A_TakeAmmo
Moderator: Graf Zahl
-
DoomRater
- Posts: 397
- Joined: Tue Jul 19, 2005 4:14
- Location: Programmer's Room, talking to Will Harvey
-
Graf Zahl
- GZDoom Developer

- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
-
The HavoX
- Posts: 170
- Joined: Sun Jul 24, 2005 23:05
- Location: Republic, MO
-
DoomRater
- Posts: 397
- Joined: Tue Jul 19, 2005 4:14
- Location: Programmer's Room, talking to Will Harvey
I am trying to figure out how this is cheating. That, or how about explaining how I am supposed to check for this myself?Graf Zahl wrote:I don't consider infinite ammo something that has to be considered by any DECORATE code pointer. It's cheating and if your weapons don't work with it, well - too bad.
-
Graf Zahl
- GZDoom Developer

- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
-
DoomRater
- Posts: 397
- Joined: Tue Jul 19, 2005 4:14
- Location: Programmer's Room, talking to Will Harvey
-
Graf Zahl
- GZDoom Developer

- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
-
DoomRater
- Posts: 397
- Joined: Tue Jul 19, 2005 4:14
- Location: Programmer's Room, talking to Will Harvey
-
DoomRater
- Posts: 397
- Joined: Tue Jul 19, 2005 4:14
- Location: Programmer's Room, talking to Will Harvey
-
Graf Zahl
- GZDoom Developer

- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany