Core/Misc: researched the reasons for instance reset failure and added them as comments to the sendresetinstancefailed function.

This commit is contained in:
Kandera
2012-04-17 09:56:08 -04:00
parent 61cb2db1bd
commit 17d87c0103
+5 -1
View File
@@ -19777,7 +19777,11 @@ void Player::SendResetInstanceSuccess(uint32 MapId)
void Player::SendResetInstanceFailed(uint32 reason, uint32 MapId)
{
// TODO: find what other fail reasons there are besides players in the instance
/*reasons for instance reset failure:
// 0: There are players inside the instance.
// 1: There are players offline in your party.
// 2>: There are players in your party attempting to zone into an instance.
*/
WorldPacket data(SMSG_INSTANCE_RESET_FAILED, 4);
data << uint32(reason);
data << uint32(MapId);