mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
- fixed: A_ClearRefire was copied to the wrong script class.
This commit is contained in:
parent
f5421491ec
commit
02cfdbc29c
1 changed files with 5 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue