Core/Instances: Fix order (wrong build) in 57eae1dc13

This commit is contained in:
Vincent-Michael
2015-08-09 17:27:48 +02:00
parent 57eae1dc13
commit edcbe1bf47
2 changed files with 3 additions and 3 deletions

View File

@@ -2110,7 +2110,7 @@ void Group::ResetInstances(uint8 method, bool isRaid, bool isLegacy, Player* Sen
if (SendMsgTo)
{
if (!isEmpty)
SendMsgTo->SendResetInstanceFailed(INSTANCE_RESET_FAILED_OFFLINE, instanceSave->GetMapId());
SendMsgTo->SendResetInstanceFailed(INSTANCE_RESET_FAILED, instanceSave->GetMapId());
else if (sWorld->getBoolConfig(CONFIG_INSTANCES_RESET_ANNOUNCE))
{
if (Group* group = SendMsgTo->GetGroup())

View File

@@ -4950,9 +4950,9 @@ enum RaidGroupReason
enum ResetFailedReason
{
INSTANCE_RESET_FAILED_OFFLINE = 0, // "Cannot reset %s. There are players offline in your party."
INSTANCE_RESET_FAILED = 0, // "Cannot reset %s. There are players still inside the instance."
INSTANCE_RESET_FAILED_ZONING = 1, // "Cannot reset %s. There are players in your party attempting to zone into an instance."
INSTANCE_RESET_FAILED = 2 // "Cannot reset %s. There are players still inside the instance."
INSTANCE_RESET_FAILED_OFFLINE = 2 // "Cannot reset %s. There are players offline in your party."
};
#endif