mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
Fix typo that made DepleteAmmo always use Secondary Ammo
https://forum.zdoom.org/viewtopic.php?f=2&p=1038209
This commit is contained in:
parent
8e90386567
commit
1608e11f0d
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ bool AWeapon::DepleteAmmo(bool altFire, bool checkEnough, int ammouse)
|
||||||
{
|
{
|
||||||
IFVIRTUAL(AWeapon, DepleteAmmo)
|
IFVIRTUAL(AWeapon, DepleteAmmo)
|
||||||
{
|
{
|
||||||
VMValue params[] = { (DObject*)this, AltFire, checkEnough, ammouse };
|
VMValue params[] = { (DObject*)this, altFire, checkEnough, ammouse };
|
||||||
VMReturn ret;
|
VMReturn ret;
|
||||||
int retval;
|
int retval;
|
||||||
ret.IntAt(&retval);
|
ret.IntAt(&retval);
|
||||||
|
|
Loading…
Reference in a new issue