Core/Misc: Fixed compile warnings

This commit is contained in:
Shauren committed 2013-08-01 18:03:48 +02:00
1 parent b8b21ce1f8
commit 3814bbdd46
4 files changed
+3 -29

No files matched your search

@@ -184,13 +184,9 @@ void Object::BuildCreateUpdateBlockForPlayer(UpdateData* data, Player* target) c
uint8 updateType = UPDATETYPE_CREATE_OBJECT;
uint16 flags = m_updateFlag;
uint32 valCount = m_valuesCount;
/** lower flag1 **/
if (target == this) // building packet for yourself
flags |= UPDATEFLAG_SELF;
else if (GetTypeId() == TYPEID_PLAYER)
valCount = PLAYER_END_NOT_SELF;
switch (GetGUIDHigh())
{