Remove unused faction string from item

ryzomclassic-develop
kaetemi 4 years ago
parent 29f313853d
commit a2c7c4dc25

@ -1205,7 +1205,6 @@ CGameItemPtr CGameItem::getItemCopy()
item->_SapLoad = _SapLoad;
item->_LostHPremains = 0.0f;
item->_PhraseId = _PhraseId;
item->_RequiredFaction = _RequiredFaction;
item->computeItemWornState();
log_Item_Create(item->getItemId(), item->getSheetId(), item->getStackSize(), item->quality());
@ -1378,7 +1377,6 @@ void CGameItem::clear()
_TypeSkillMods.clear();
_PhraseId.clear();
_RequiredFaction.clear();
_CustomText.clear();
}

@ -680,11 +680,6 @@ public :
/// set required skill level
inline void setRequiredSkillLevel2( uint16 l ) { _RequiredSkillLevel2 = l; }
/// get Required Faction
inline const std::string & getRequiredFaction() const { return _RequiredFaction;}
/// set Required Faction
inline void setRequiredFaction(const std::string & str){ _RequiredFaction = str;}
inline bool getLockedByOwner() const { return _LockedByOwner; }
void setLockedByOwner(bool value);
@ -957,7 +952,6 @@ private:
// required skill
bool _UseNewSystemRequirement;
std::string _RequiredFaction;
SKILLS::ESkills _RequiredSkill;
uint16 _RequiredSkillLevel;
SKILLS::ESkills _RequiredSkill2;

@ -1340,7 +1340,6 @@ private:
PROP2(_Recommended, uint32, _Recommended, _Recommended=val)\
PROP2(_CreatorId, CEntityId, _CreatorId, _CreatorId=val)\
PROP2(_PhraseId, string, _PhraseId, _PhraseId=val)\
PROP2(_RequiredFaction, string, _RequiredFaction, _RequiredFaction=val)\
LSTRUCT2(_CraftParameters, if (_CraftParameters != NULL), _CraftParameters->store(pdr), _CraftParameters = new CItemCraftParameters; _CraftParameters->apply(pdr))\
LPROP2(_SlotImage, uint16, if (0), 0xffff, slotImage=val)\
LPROP2(_SapLoad, uint32, if (_SapLoad!=0), _SapLoad, _SapLoad=val)\

Loading…
Cancel
Save