add .debug bg to allow starting a battleground with just one player

it's implemented like .debug arena - so you toggle debug bg
on or off
This commit is contained in:
balrok 2009-01-24 18:38:05 +01:00 committed by VladimirMangos
parent 3c38b4d3e6
commit 78a6d084bc
5 changed files with 22 additions and 1 deletions

View file

@ -521,6 +521,12 @@ bool ChatHandler::HandleGetItemState(const char* args)
return true;
}
bool ChatHandler::HandleDebugBattlegroundCommand(const char * /*args*/)
{
sBattleGroundMgr.ToggleTesting();
return true;
}
bool ChatHandler::HandleDebugArenaCommand(const char * /*args*/)
{
sBattleGroundMgr.ToggleArenaTesting();