Skip to content

Commit

Permalink
[9194] Implement default min player per team at BG same as max players.
Browse files Browse the repository at this point in the history
This let use now default requirement for not set in `battleground_template` min/max values (or =0)
In other cases just set expected data into template table.
  • Loading branch information
VladimirMangos committed Jan 16, 2010
1 parent 490608b commit 3e0bfe5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/game/BattleGroundMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1688,7 +1688,7 @@ void BattleGroundMgr::CreateInitialBattleGrounds()
if (MaxPlayersPerTeam == 0 || MinPlayersPerTeam == 0 || MinPlayersPerTeam > MaxPlayersPerTeam)
{
MaxPlayersPerTeam = bl->maxplayersperteam;
MinPlayersPerTeam = bl->maxplayersperteam / 2;
MinPlayersPerTeam = bl->maxplayersperteam; // by default now expected strong full bg requirement
}
if (MinLvl == 0 || MaxLvl == 0 || MinLvl > MaxLvl)
{
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9193"
#define REVISION_NR "9194"
#endif // __REVISION_NR_H__

0 comments on commit 3e0bfe5

Please sign in to comment.