mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-31 13:50:48 +00:00
The fallback path in DepleteAmmo was calling the wrong function
This commit is contained in:
parent
e566cb9184
commit
80a0d15bc7
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ bool AWeapon::CheckAmmo(int fireMode, bool autoSwitch, bool requireAmmo, int amm
|
|||
VMCall(func, params, 5, &ret, 1);
|
||||
return !!retval;
|
||||
}
|
||||
return CheckAmmo(fireMode, autoSwitch, requireAmmo, ammocount);
|
||||
return DoCheckAmmo(fireMode, autoSwitch, requireAmmo, ammocount);
|
||||
}
|
||||
|
||||
bool AWeapon::DoCheckAmmo (int fireMode, bool autoSwitch, bool requireAmmo, int ammocount)
|
||||
|
|
Loading…
Reference in a new issue