mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[7081] Fix comments in recent added code.
This commit is contained in:
parent
d53b43024a
commit
d3615532b5
2 changed files with 4 additions and 4 deletions
|
|
@ -1601,19 +1601,19 @@ void ObjectMgr::LoadItemPrototypes()
|
|||
if(proto->Class != dbcitem->Class || proto->SubClass != dbcitem->SubClass)
|
||||
{
|
||||
sLog.outErrorDb("Item (Entry: %u) not correct (Class: %u, Sub: %u) pair, must be (Class: %u, Sub: %u) (still using DB value).",i,proto->Class,proto->SubClass,dbcitem->Class,dbcitem->SubClass);
|
||||
// It safe let use InventoryType from DB
|
||||
// It safe let use Class/Subclass from DB
|
||||
}
|
||||
|
||||
if(proto->Unk0 != dbcitem->Unk0)
|
||||
{
|
||||
sLog.outErrorDb("Item (Entry: %u) not correct %u Unk0, must be %u (still using DB value).",i,proto->Unk0,dbcitem->Unk0);
|
||||
// It safe let use InventoryType from DB
|
||||
// It safe let use Unk0 from DB
|
||||
}
|
||||
|
||||
if(proto->Material != dbcitem->Material)
|
||||
{
|
||||
sLog.outErrorDb("Item (Entry: %u) not correct %u material, must be %u (still using DB value).",i,proto->Material,dbcitem->Material);
|
||||
// It safe let use InventoryType from DB
|
||||
// It safe let use Material from DB
|
||||
}
|
||||
|
||||
if(proto->InventoryType != dbcitem->InventoryType)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue