mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Engine: use correct method for detouring datablock processor
Should be using DetourSetup here as that one handles attaching and detaching.
This commit is contained in:
parent
456a68af05
commit
d810768895
@ -158,5 +158,5 @@ static bool HK_ProcessDataBlock(ClientDataBlockReceiver* receiver, const double
|
|||||||
|
|
||||||
void VClientDataBlockReceiver::Detour(const bool bAttach) const
|
void VClientDataBlockReceiver::Detour(const bool bAttach) const
|
||||||
{
|
{
|
||||||
DetourAttach(&ClientDataBlockReceiver__ProcessDataBlock, HK_ProcessDataBlock);
|
DetourSetup(&ClientDataBlockReceiver__ProcessDataBlock, HK_ProcessDataBlock, bAttach);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user