- copied A_ClearRefire to the proper place for good now.

This commit is contained in:
Christoph Oelckers 2017-01-20 20:19:38 +01:00
parent 23a7fd40aa
commit 06898bf8fb

View file

@ -11,6 +11,11 @@ class StateProvider : Inventory native
action native void A_ReFire(statelabel flash = null);
action native state A_CheckForReload(int counter, statelabel label, bool dontincrement = false);
action native void A_ResetReloadCounter();
action void A_ClearReFire()
{
if (NULL != player) player.refire = 0;
}
}
class CustomInventory : StateProvider
@ -74,10 +79,4 @@ class CustomInventory : StateProvider
}
return useok;
}
action void A_ClearReFire()
{
if (NULL != player) player.refire = 0;
}
}