[11897] Remove redundant call of ResetInstance - Raids cannot be reset at all

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
cyberium 2012-01-31 19:43:31 +01:00 committed by Schmoozerd
parent ceeafd567c
commit 2836e704a8
2 changed files with 3 additions and 9 deletions

View file

@ -1401,16 +1401,10 @@ void WorldSession::HandleResetInstancesOpcode( WorldPacket & /*recv_data*/ )
if (Group* pGroup = _player->GetGroup()) if (Group* pGroup = _player->GetGroup())
{ {
if (pGroup->IsLeader(_player->GetObjectGuid())) if (pGroup->IsLeader(_player->GetObjectGuid()))
{
pGroup->ResetInstances(INSTANCE_RESET_ALL, false, _player); pGroup->ResetInstances(INSTANCE_RESET_ALL, false, _player);
pGroup->ResetInstances(INSTANCE_RESET_ALL, true,_player);
}
} }
else else
{
_player->ResetInstances(INSTANCE_RESET_ALL, false); _player->ResetInstances(INSTANCE_RESET_ALL, false);
_player->ResetInstances(INSTANCE_RESET_ALL, true);
}
} }
void WorldSession::HandleSetDungeonDifficultyOpcode( WorldPacket & recv_data ) void WorldSession::HandleSetDungeonDifficultyOpcode( WorldPacket & recv_data )

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "11896" #define REVISION_NR "11897"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__