Corrected values of constants for SMSG_RAID_GROUP_ONLY
This commit is contained in:
parent
0317133b64
commit
43a5be52b0
@ -17464,7 +17464,7 @@ void Player::UpdateHomebindTime(uint32 time)
|
||||
// hide reminder
|
||||
WorldPacket data(SMSG_RAID_GROUP_ONLY, 4 + 4);
|
||||
data << uint32(0);
|
||||
data << uint32(ERR_RAID_GROUP_NONE); // error used only when timer = 0
|
||||
data << uint32(ERR_RAID_GROUP_REQUIRED); // error used only when timer = 0
|
||||
GetSession()->SendPacket(&data);
|
||||
}
|
||||
// instance is valid, reset homebind timer
|
||||
@ -17487,7 +17487,7 @@ void Player::UpdateHomebindTime(uint32 time)
|
||||
// send message to player
|
||||
WorldPacket data(SMSG_RAID_GROUP_ONLY, 4 + 4);
|
||||
data << uint32(m_HomebindTimer);
|
||||
data << uint32(ERR_RAID_GROUP_NONE); // error used only when timer = 0
|
||||
data << uint32(ERR_RAID_GROUP_REQUIRED); // error used only when timer = 0
|
||||
GetSession()->SendPacket(&data);
|
||||
DEBUG_LOG("PLAYER: Player '%s' (GUID: %u) will be teleported to homebind in 60 seconds", GetName(), GetGUIDLow());
|
||||
}
|
||||
|
@ -330,11 +330,13 @@ typedef std::list<Item*> ItemDurationList;
|
||||
|
||||
enum RaidGroupError
|
||||
{
|
||||
ERR_RAID_GROUP_NONE = 0,
|
||||
ERR_RAID_GROUP_LOWLEVEL = 1,
|
||||
ERR_RAID_GROUP_ONLY = 2,
|
||||
ERR_RAID_GROUP_FULL = 3,
|
||||
ERR_RAID_GROUP_REQUIREMENTS_UNMATCH = 4
|
||||
ERR_RAID_GROUP_REQUIRED = 1,
|
||||
ERR_RAID_GROUP_FULL = 2
|
||||
//ERR_RAID_GROUP_NONE = 0,
|
||||
//ERR_RAID_GROUP_LOWLEVEL = 1,
|
||||
//ERR_RAID_GROUP_ONLY = 2,
|
||||
//ERR_RAID_GROUP_FULL = 3,
|
||||
//ERR_RAID_GROUP_REQUIREMENTS_UNMATCH = 4
|
||||
};
|
||||
|
||||
enum DrunkenState
|
||||
|
Loading…
x
Reference in New Issue
Block a user