Changed: Only display this warning in debug, because occurs when underwears are equipped
This commit is contained in:
parent
35926ab60f
commit
68283bc2ed
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