mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 00:21:43 +00:00
- fixed: ScriptUtil.PlayerAmmo must be declared static.
This commit is contained in:
parent
3f835cd124
commit
5c8ae72453
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ class ScriptUtil play
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
int PlayerAmmo(Actor activator, class<Inventory> type, int newamount = int.min)
|
||||
static int PlayerAmmo(Actor activator, class<Inventory> type, int newamount = int.min)
|
||||
{
|
||||
if (activator == null) return 0;
|
||||
let ammotype = (class<Ammo>)(type);
|
||||
|
|
Loading…
Reference in a new issue