mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-16 17:21:10 +00:00
- fixed: ScriptUtil.PlayerAmmo must be declared static.
This commit is contained in:
parent
0591e9f5b3
commit
caf326abe7
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