mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +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)
|
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);
|
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)
|
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);
|
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)
|
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);
|
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)
|
if(proto->InventoryType != dbcitem->InventoryType)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7080"
|
#define REVISION_NR "7081"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue