[9194] Implement default min player per team at BG same as max players.

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.
This commit is contained in:
VladimirMangos 2010-01-17 02:30:10 +03:00
parent 0a1dd54b7f
commit ccbf14d4ac
2 changed files with 2 additions and 2 deletions

View file

@ -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)
{

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9193"
#define REVISION_NR "9194"
#endif // __REVISION_NR_H__