Skip to content

Commit

Permalink
GetMaxLevelForBattleGroundQueueId returns wrong level.
Browse files Browse the repository at this point in the history
mangos-0.12 only related fix.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
  • Loading branch information
balrok authored and VladimirMangos committed Mar 6, 2009
1 parent 8915881 commit fcd438e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Player.cpp
Expand Up @@ -17920,7 +17920,7 @@ uint32 Player::GetMinLevelForBattleGroundQueueId(uint32 queue_id)

uint32 Player::GetMaxLevelForBattleGroundQueueId(uint32 queue_id)
{
if(queue_id >=6)
if(queue_id >=7)
return 255; // hardcoded max level

return 10*(queue_id+2)-1;
Expand Down

0 comments on commit fcd438e

Please sign in to comment.