diff --git a/src/game/items/CItem.cpp b/src/game/items/CItem.cpp index fba785497..ebf524cd0 100644 --- a/src/game/items/CItem.cpp +++ b/src/game/items/CItem.cpp @@ -3342,7 +3342,17 @@ bool CItem::r_LoadVal( CScript & s ) // Load an item Script SetUnkZ( s.GetArgCVal() ); // GetEquipLayer() break; case IC_LINK: - m_uidLink.SetObjUID(s.GetArgDWVal()); + { + CUID uidLink = (CUID)s.GetArgDWVal(); + if ((dword)uidLink == 0) + { + m_uidLink.InitUID(); + } + else + { + m_uidLink.SetObjUID(uidLink); + } + } break; case IC_FRUIT: // m_more2