From 1884889f04cbd651c195aa0b6bb422e3fb8b1511 Mon Sep 17 00:00:00 2001 From: hunuza Date: Sun, 21 Dec 2008 14:42:18 +0100 Subject: [PATCH] [6927] Send correct level in error message due to too low level to create arena team. Signed-off-by: hunuza --- src/game/PetitionsHandler.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/PetitionsHandler.cpp b/src/game/PetitionsHandler.cpp index ea766facd..712d8bc36 100644 --- a/src/game/PetitionsHandler.cpp +++ b/src/game/PetitionsHandler.cpp @@ -111,7 +111,7 @@ void WorldSession::HandlePetitionBuyOpcode(WorldPacket & recv_data) // TODO: find correct opcode if(_player->getLevel() < sWorld.getConfig(CONFIG_MAX_PLAYER_LEVEL)) { - SendNotification(LANG_ARENA_ONE_TOOLOW, 70); + SendNotification(LANG_ARENA_ONE_TOOLOW, sWorld.getConfig(CONFIG_MAX_PLAYER_LEVEL)); return; } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 101dc5fd9..fcbcb4319 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "6926" + #define REVISION_NR "6927" #endif // __REVISION_NR_H__