diff --git a/source/games/exhumed/src/player.cpp b/source/games/exhumed/src/player.cpp index 3def7f18f..89775176f 100644 --- a/source/games/exhumed/src/player.cpp +++ b/source/games/exhumed/src/player.cpp @@ -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)