Changed: Only display this warning in debug, because occurs when underwears are equipped

--HG--
branch : develop
This commit is contained in:
kervala 2015-12-20 11:18:01 +01:00
parent 935809b40f
commit f04ebac483
2 changed files with 2 additions and 2 deletions

View file

@ -628,7 +628,7 @@ void CPlayerCL::equip(SLOTTYPE::EVisualSlot slot, uint index, uint color)
// Default equipment. // Default equipment.
else else
{ {
nlwarning("PL:equip(2):%d: VS '%d' default equipement used.", _Slot, slot); nldebug("PL:equip(2):%d: VS '%d' default equipement used.", _Slot, slot);
sint idx = SheetMngr.getVSIndex(_PlayerSheet->GenderInfos[_Gender].Items[slot], slot); sint idx = SheetMngr.getVSIndex(_PlayerSheet->GenderInfos[_Gender].Items[slot], slot);
if(idx != -1) if(idx != -1)
{ {

View file

@ -403,7 +403,7 @@ void CPlayerR2CL::equip(SLOTTYPE::EVisualSlot slot, uint index, uint color)
// Default equipment. // Default equipment.
else else
{ {
nlwarning("PL:equip(2):%d: VS '%d' default equipement used.", _Slot, slot); nldebug("PL:equip(2):%d: VS '%d' default equipement used.", _Slot, slot);
//sint idx = SheetMngr.getVSIndex(_PlayerSheet->GenderInfos[_Gender].Items[slot], slot); //sint idx = SheetMngr.getVSIndex(_PlayerSheet->GenderInfos[_Gender].Items[slot], slot);
sint idx = SheetMngr.getVSIndex(getGenderInfo()->Items[slot], slot); sint idx = SheetMngr.getVSIndex(getGenderInfo()->Items[slot], slot);