mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +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