[7062] Fixed arena team inviting.

Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
CHEG 2009-01-10 03:09:36 +01:00 committed by ApoC
parent e266f04eda
commit 4051db9767
2 changed files with 2 additions and 2 deletions

View file

@ -171,7 +171,7 @@ void WorldSession::HandleArenaTeamInviteAcceptOpcode(WorldPacket & /*recv_data*/
if(!at)
return;
if(_player->GetArenaTeamId(at->GetType()))
if(_player->GetArenaTeamId(at->GetSlot()))
{
SendArenaTeamCommandResult(ERR_ARENA_TEAM_CREATE_S,"","",ERR_ALREADY_IN_ARENA_TEAM); // already in arena team that size
return;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7061"
#define REVISION_NR "7062"
#endif // __REVISION_NR_H__