730 {
732 return false;
733
734 if(m_Src2 && m_Dst2 && m_Src2.GetItem() != m_Dst2.GetItem())
735 return false;
736
737 bool test1 = false;
739 if (
GetSrcEntity() && inHands && m_Dst && m_Dst.IsValid())
740 {
741 test1 = GameInventory.CheckSwapItemsRequest(
m_Player,
m_Src, m_Src2, m_Dst, m_Dst2, GameInventory.c_MaxItemDistanceRadius);
742 #ifdef ENABLE_LOGGING
743 if ( LogManager.IsInventoryHFSMLogEnable() )
744 {
745 if (!test1)
747 }
748 #endif
749 }
750 return test1;
751 }
ref InventoryLocation m_Src
proto native EntityAI GetItem()
returns item of current inventory location