4 /// \brief Source file that contains implementation of the functions related to
6 /// \copyright GNU GPLv2 or any later version.
8 .bool m_isloot; ///< Holds whether item is loot.
10 bool Item_IsLoot(entity e)
12 return e.m_isloot || (e.classname == "droppedweapon");
15 void Item_SetLoot(entity e, bool isloot)