I shared this because as a player it is difficult to call it up, and I found when I was playing around with copying items.
Find Item_manager.cpp
void ITEM_MANAGER::RemoveItem(LPITEM item, const char * c_pszReason)
{
if (!item) // Fix game.core
return;
and
#ifndef DEBUG_ALLOC
void ITEM_MANAGER::DestroyItem(LPITEM item)
#else
void ITEM_MANAGER::DestroyItem(LPITEM item, const char* file, size_t line)
#endif
{
if (!item) // Fix game.core
{
sys_err("co jest kurwa.");
return;
}
and
void ITEM_MANAGER::GetPlayerItem(LPITEM item, TPlayerItem* result)
{
if (!item)
return;