diff --git a/src/game/Object/Player.cpp b/src/game/Object/Player.cpp index c41dacd9..2338a9d6 100644 --- a/src/game/Object/Player.cpp +++ b/src/game/Object/Player.cpp @@ -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()); } diff --git a/src/game/Object/Player.h b/src/game/Object/Player.h index 5e2c0826..c4f6d7c6 100644 --- a/src/game/Object/Player.h +++ b/src/game/Object/Player.h @@ -330,11 +330,13 @@ typedef std::list 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