Changed: Only display this warning in debug, because occurs when underwears are equipped
--HG-- branch : develop
This commit is contained in:
parent
935809b40f
commit
f04ebac483
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue