mirror of
https://github.com/rehlds/reapi.git
synced 2024-12-28 07:35:31 +03:00
Fix AMXX id hookchain for BuyItem
This commit is contained in:
parent
d40a0fed1f
commit
a7043d1103
@ -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 CSGameRules_Think(IReGameHook_CSGameRules_Think *chain)
|
||||
|
Loading…
Reference in New Issue
Block a user