mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-07 16:31:07 +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);
|
VMCall(func, params, 5, &ret, 1);
|
||||||
return !!retval;
|
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)
|
bool AWeapon::DoCheckAmmo (int fireMode, bool autoSwitch, bool requireAmmo, int ammocount)
|
||||||
|
|
Loading…
Reference in a new issue