Fix item Unk0 field type as expected signed and related log output.

Also restore item class check at server loading but not subclass check. Problems only with subclass check case.
This commit is contained in:
VladimirMangos 2009-01-15 00:39:10 +03:00
parent b19c0da601
commit c0824b35c6
5 changed files with 17 additions and 12 deletions

View file

@ -322,7 +322,7 @@ void WorldSession::HandleItemQuerySingleOpcode( WorldPacket & recv_data )
data << pProto->ItemId;
data << pProto->Class;
data << pProto->SubClass;
data << pProto->Unk0; // new 2.0.3, not exist in wdb cache?
data << int32(pProto->Unk0); // new 2.0.3, not exist in wdb cache?
data << Name;
data << uint8(0x00); //pProto->Name2; // blizz not send name there, just uint8(0x00); <-- \0 = empty string = empty name...
data << uint8(0x00); //pProto->Name3; // blizz not send name there, just uint8(0x00);