mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-25 21:41:44 +00:00
- Exhumed: fixed bad return values for two HUD functions.
This commit is contained in:
parent
19a58ddeb0
commit
33f0d229fa
1 changed files with 2 additions and 2 deletions
|
@ -2794,12 +2794,12 @@ DEFINE_ACTION_FUNCTION(_Exhumed, GetViewPlayer)
|
||||||
|
|
||||||
DEFINE_ACTION_FUNCTION(_Exhumed, GetPistolClip)
|
DEFINE_ACTION_FUNCTION(_Exhumed, GetPistolClip)
|
||||||
{
|
{
|
||||||
ACTION_RETURN_POINTER(&PlayerList[nLocalPlayer].nPistolClip);
|
ACTION_RETURN_INT(PlayerList[nLocalPlayer].nPistolClip);
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFINE_ACTION_FUNCTION(_Exhumed, GetPlayerClip)
|
DEFINE_ACTION_FUNCTION(_Exhumed, GetPlayerClip)
|
||||||
{
|
{
|
||||||
ACTION_RETURN_POINTER(&PlayerList[nLocalPlayer].nPlayerClip);
|
ACTION_RETURN_INT(PlayerList[nLocalPlayer].nPlayerClip);
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFINE_ACTION_FUNCTION(_ExhumedPlayer, IsUnderwater)
|
DEFINE_ACTION_FUNCTION(_ExhumedPlayer, IsUnderwater)
|
||||||
|
|
Loading…
Reference in a new issue