Switched the pointer to AAPTR_DEFAULT.

This commit is contained in:
MajorCooke 2016-06-20 09:11:38 -05:00
parent 85a34bbb88
commit 26408a5043
2 changed files with 2 additions and 2 deletions

View file

@ -558,7 +558,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, GetPlayerInput)
assert(ret != nullptr);
PARAM_SELF_PROLOGUE(AActor);
PARAM_INT (inputnum);
PARAM_INT_OPT (ptr) { ptr = AAPTR_PLAYER1; }
PARAM_INT_OPT (ptr) { ptr = AAPTR_DEFAULT; }
AActor *mobj = COPY_AAPTR(self, ptr);

View file

@ -48,7 +48,7 @@ ACTOR Actor native //: Thinker
native int GetGibHealth();
native float GetCrouchFactor(int ptr = AAPTR_PLAYER1);
native float GetCVar(string cvar);
native int GetPlayerInput(int inputnum, int ptr = AAPTR_PLAYER1);
native int GetPlayerInput(int inputnum, int ptr = AAPTR_DEFAULT);
// Action functions
// Meh, MBF redundant functions. Only for DeHackEd support.