diff --git a/src/g_inventory/a_weapons.cpp b/src/g_inventory/a_weapons.cpp index ede528338..a0458ce3e 100644 --- a/src/g_inventory/a_weapons.cpp +++ b/src/g_inventory/a_weapons.cpp @@ -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 }; VMReturn ret; int retval; ret.IntAt(&retval);