*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 By balrok

--HG--
branch : trunk
This commit is contained in:
megamage
2009-02-10 00:39:03 -06:00
parent d696381f32
commit 7f39dbd848
8 changed files with 30 additions and 9 deletions

View File

@@ -535,6 +535,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();