Skip to content

Commit

Permalink
PM_LadderMove: Fixed wrong pass player index
Browse files Browse the repository at this point in the history
  • Loading branch information
s1lentq committed Jan 23, 2024
1 parent 8fa52b0 commit 9bbebe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reapi/src/hook_callback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1460,7 +1460,7 @@ void PM_LadderMove_AMXX(IReGameHook_PM_LadderMove *chain, physent_t *pLadder, in

void PM_LadderMove(IReGameHook_PM_LadderMove *chain, physent_t *pLadder)
{
PM_LadderMove_AMXX(chain, pLadder, pLadder->player + 1);
PM_LadderMove_AMXX(chain, pLadder, g_pMove->player_index + 1);
}

void PM_WaterJump_AMXX(IReGameHook_PM_WaterJump *chain, int playerIndex)
Expand Down

0 comments on commit 9bbebe1

Please sign in to comment.