- fixed: ScriptUtil.PlayerAmmo must be declared static.

This commit is contained in:
Christoph Oelckers 2019-01-20 18:58:02 +01:00
parent 0591e9f5b3
commit caf326abe7

View file

@ -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);