mirror of
https://github.com/rei-2/Amalgam
synced 2026-10-10 21:03:09 +08:00
17 lines
563 B
C++
17 lines
563 B
C++
#include "../SDK/SDK.h"
|
|
|
|
MAKE_SIGNATURE(CInventoryManager_ShowItemsPickedUp, "client.dll", "44 88 4C 24 ? 44 88 44 24 ? 53 41 56", 0x0);
|
|
|
|
MAKE_HOOK(CInventoryManager_ShowItemsPickedUp, S::CInventoryManager_ShowItemsPickedUp(), bool,
|
|
void* rcx, bool bForce, bool bReturnToGame, bool bNoPanel)
|
|
{
|
|
DEBUG_RETURN(CInventoryManager_ShowItemsPickedUp, rcx, bForce, bReturnToGame, bNoPanel);
|
|
|
|
if (Vars::Misc::Automation::AcceptItemDrops.Value)
|
|
{
|
|
CALL_ORIGINAL(rcx, true, true, true);
|
|
return false;
|
|
}
|
|
|
|
return CALL_ORIGINAL(rcx, bForce, bReturnToGame, bNoPanel);
|
|
} |