Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ammo usage in jumpgun code #301

Merged
merged 1 commit into from Aug 27, 2016
Merged

Remove ammo usage in jumpgun code #301

merged 1 commit into from Aug 27, 2016

Conversation

squeek502
Copy link
Member

Not sure if it's necessary for fortressforever/fortressforever-scripts#61 but seems worthwhile regardless.

Contributes towards #300

@AfterShockFF
Copy link
Member

AfterShockFF commented Aug 27, 2016

Not sure what I think about this. I guess if we want to reinstate ammo usage at some point this code could come in handy. That said we can just come back to this pull request and revert it..! 👍

@squeek502
Copy link
Member Author

Turns out this is probably necessary (as far as I can tell, with primaryAmmoType == -1, GetAmmoCount returns 0 so it would always act as if it was out of ammo).

@squeek502 squeek502 merged commit 25e9fc9 into beta Aug 27, 2016
@squeek502 squeek502 deleted the fixes/jumpgun-ammo branch August 27, 2016 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants