mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
- Change the pointer to be at the end instead of the start.
This commit is contained in:
parent
492ef1b716
commit
1ecc048441
2 changed files with 7 additions and 7 deletions
|
@ -5858,12 +5858,12 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_ResetHealth)
|
|||
DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_JumpIfHigherOrLower)
|
||||
{
|
||||
ACTION_PARAM_START(6);
|
||||
ACTION_PARAM_INT(ptr, 0);
|
||||
ACTION_PARAM_STATE(high, 1);
|
||||
ACTION_PARAM_STATE(low, 2);
|
||||
ACTION_PARAM_FIXED(offsethigh, 3);
|
||||
ACTION_PARAM_FIXED(offsetlow, 4);
|
||||
ACTION_PARAM_BOOL(includeHeight, 5);
|
||||
ACTION_PARAM_STATE(high, 0);
|
||||
ACTION_PARAM_STATE(low, 1);
|
||||
ACTION_PARAM_FIXED(offsethigh, 2);
|
||||
ACTION_PARAM_FIXED(offsetlow, 3);
|
||||
ACTION_PARAM_BOOL(includeHeight, 4);
|
||||
ACTION_PARAM_INT(ptr, 5);
|
||||
|
||||
AActor *mobj = COPY_AAPTR(self, ptr);
|
||||
|
||||
|
|
|
@ -330,7 +330,7 @@ ACTOR Actor native //: Thinker
|
|||
action native A_SetFloatBobPhase(int bob);
|
||||
action native A_SetHealth(int health, int ptr = AAPTR_DEFAULT);
|
||||
action native A_ResetHealth(int ptr = AAPTR_DEFAULT);
|
||||
action native A_JumpIfHigherOrLower(int ptr = AAPTR_TARGET, state high, state low, float offsethigh = 0, float offsetlow = 0, bool includeHeight = true);
|
||||
action native A_JumpIfHigherOrLower(state high, state low, float offsethigh = 0, float offsetlow = 0, bool includeHeight = true, int ptr = AAPTR_TARGET);
|
||||
action native A_SetRipperLevel(int level);
|
||||
action native A_SetRipMin(int min);
|
||||
action native A_SetRipMax(int max);
|
||||
|
|
Loading…
Reference in a new issue