From 02cfdbc29c016616f1dd3c47314c248b8b15cd77 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 20 Jan 2017 11:59:12 +0100 Subject: [PATCH] - fixed: A_ClearRefire was copied to the wrong script class. --- 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 3f4f1fcda..6f52f6696 100644 --- a/wadsrc/static/zscript/inventory/stateprovider.txt +++ b/wadsrc/static/zscript/inventory/stateprovider.txt @@ -25,12 +25,6 @@ class CustomInventory : StateProvider // //--------------------------------------------------------------------------- - action void A_ClearReFire() - { - if (NULL != player) player.refire = 0; - } - - // This is only here, because these functions were originally exported on Inventory, despite only working for weapons, so this is here to satisfy some potential old mods having called it through CustomInventory. deprecated action void A_GunFlash(statelabel flash = null, int flags = 0) {} deprecated action void A_Lower() {} @@ -81,4 +75,9 @@ class CustomInventory : StateProvider return useok; } + action void A_ClearReFire() + { + if (NULL != player) player.refire = 0; + } + }