- Exhumed: fixed bad return values for two HUD functions.

This commit is contained in:
Christoph Oelckers 2023-01-21 14:37:57 +01:00
parent 19a58ddeb0
commit 33f0d229fa

View file

@ -2794,12 +2794,12 @@ DEFINE_ACTION_FUNCTION(_Exhumed, GetViewPlayer)
DEFINE_ACTION_FUNCTION(_Exhumed, GetPistolClip)
{
ACTION_RETURN_POINTER(&PlayerList[nLocalPlayer].nPistolClip);
ACTION_RETURN_INT(PlayerList[nLocalPlayer].nPistolClip);
}
DEFINE_ACTION_FUNCTION(_Exhumed, GetPlayerClip)
{
ACTION_RETURN_POINTER(&PlayerList[nLocalPlayer].nPlayerClip);
ACTION_RETURN_INT(PlayerList[nLocalPlayer].nPlayerClip);
}
DEFINE_ACTION_FUNCTION(_ExhumedPlayer, IsUnderwater)