From 06898bf8fb4b17d14aed94454f3846a27a3ffbdf Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 20 Jan 2017 20:19:38 +0100 Subject: [PATCH] - copied A_ClearRefire to the proper place for good now. --- wadsrc/static/zscript/inventory/stateprovider.txt | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/wadsrc/static/zscript/inventory/stateprovider.txt b/wadsrc/static/zscript/inventory/stateprovider.txt index dc261eaa9..043af1d50 100644 --- a/wadsrc/static/zscript/inventory/stateprovider.txt +++ b/wadsrc/static/zscript/inventory/stateprovider.txt @@ -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; - } - }