diff options
author | Kandera <KanderaDev@gmail.com> | 2012-04-17 09:56:08 -0400 |
---|---|---|
committer | Kandera <KanderaDev@gmail.com> | 2012-04-17 09:56:08 -0400 |
commit | 17d87c0103703d38eb64f595e8a2155553b39d29 (patch) | |
tree | b946845f4ed4734469dbd5b34bd5116232f5c51e | |
parent | 61cb2db1bd57e90e56a62853c9445e243a189125 (diff) |
Core/Misc: researched the reasons for instance reset failure and added them as comments to the sendresetinstancefailed function.
-rwxr-xr-x | src/server/game/Entities/Player/Player.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/server/game/Entities/Player/Player.cpp b/src/server/game/Entities/Player/Player.cpp index 0992c488315..141902fbbdc 100755 --- a/src/server/game/Entities/Player/Player.cpp +++ b/src/server/game/Entities/Player/Player.cpp @@ -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); |