mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-18 22:51:39 +00:00
- copied A_ClearRefire to the proper place for good now.
This commit is contained in:
parent
23a7fd40aa
commit
06898bf8fb
1 changed files with 5 additions and 6 deletions
|
@ -11,6 +11,11 @@ class StateProvider : Inventory native
|
||||||
action native void A_ReFire(statelabel flash = null);
|
action native void A_ReFire(statelabel flash = null);
|
||||||
action native state A_CheckForReload(int counter, statelabel label, bool dontincrement = false);
|
action native state A_CheckForReload(int counter, statelabel label, bool dontincrement = false);
|
||||||
action native void A_ResetReloadCounter();
|
action native void A_ResetReloadCounter();
|
||||||
|
|
||||||
|
action void A_ClearReFire()
|
||||||
|
{
|
||||||
|
if (NULL != player) player.refire = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class CustomInventory : StateProvider
|
class CustomInventory : StateProvider
|
||||||
|
@ -74,10 +79,4 @@ class CustomInventory : StateProvider
|
||||||
}
|
}
|
||||||
return useok;
|
return useok;
|
||||||
}
|
}
|
||||||
|
|
||||||
action void A_ClearReFire()
|
|
||||||
{
|
|
||||||
if (NULL != player) player.refire = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue