P5: Typo...

Signed-off-by: Gyx <2359980687@qq.com>
This commit is contained in:
Gyx
2012-01-07 12:28:09 +08:00
parent f27cc65588
commit 42f3f91ad4
2 changed files with 5 additions and 1 deletions

View File

@@ -179,7 +179,10 @@ enum EUnitFields
UNIT_FIELD_MAXITEMLEVEL = OBJECT_END + 0x0088, // Size: 1, Type: INT, Flags: PUBLIC
UNIT_FIELD_PADDING = OBJECT_END + 0x0089, // Size: 1, Type: INT, Flags: NONE
UNIT_END = OBJECT_END + 0x008A,
};
enum EPlayerFields
{
PLAYER_DUEL_ARBITER = UNIT_END + 0x0000, // Size: 2, Type: LONG, Flags: PUBLIC
PLAYER_FLAGS = UNIT_END + 0x0002, // Size: 1, Type: INT, Flags: PUBLIC
PLAYER_GUILDRANK = UNIT_END + 0x0003, // Size: 1, Type: INT, Flags: PUBLIC
@@ -540,4 +543,5 @@ enum ECorpseFields
CORPSE_FIELD_DYNAMIC_FLAGS = OBJECT_END + 0x001B, // Size: 1, Type: INT, Flags: UNUSED2
CORPSE_END = OBJECT_END + 0x001C,
};
#endif

View File

@@ -444,7 +444,7 @@ void WorldSession::HandleReadItem(WorldPacket & recv_data)
InventoryResult msg = _player->CanUseItem(pItem);
if (msg == EQUIP_ERR_OK)
{
data.Initialize (SMSG_READ_ITEM_OK, 8);
data.Initialize(SMSG_READ_ITEM_OK, 8);
sLog->outDetail("STORAGE: Item page sent");
}
else