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

Fix typo that made DepleteAmmo always use Secondary Ammo #421

Merged
merged 1 commit into from Jan 31, 2018

Conversation

Talon1024
Copy link
Contributor

@@ -324,7 +324,7 @@ bool AWeapon::DepleteAmmo(bool altFire, bool checkEnough, int ammouse)
{
IFVIRTUAL(AWeapon, DepleteAmmo)
{
VMValue params[] = { (DObject*)this, AltFire, checkEnough, ammouse };
VMValue params[] = { (DObject*)this, altFire, checkEnough, ammouse };
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AltFire (with capital A) is an enum value
altFire (small a) is one of the parameters

@madame-rachelle madame-rachelle merged commit 1608e11 into ZDoom:master Jan 31, 2018
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