Skip to content

Commit

Permalink
Fix BuyItem
Browse files Browse the repository at this point in the history
  • Loading branch information
aleeperezz16 committed Jan 4, 2024
1 parent 9e8e2b0 commit 3c4d219
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 @@ -1607,7 +1607,7 @@ void BuyItem(IReGameHook_BuyItem *chain, CBasePlayer *pPlayer, int iSlot)
chain->callNext(getPrivate<CBasePlayer>(_pPlayer), _iSlot);
};

callVoidForward(RG_AddMultiDamage, original, indexOfEdict(pPlayer->pev), iSlot);
callVoidForward(RG_BuyItem, original, indexOfEdict(pPlayer->pev), iSlot);
}

void PrecacheItemInfo(IReGameHook_PrecacheItemInfo *chain, ItemInfo *info)
Expand Down

0 comments on commit 3c4d219

Please sign in to comment.