aboutsummaryrefslogtreecommitdiff
path: root/src/game/debugcmds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/debugcmds.cpp')
-rw-r--r--src/game/debugcmds.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/debugcmds.cpp b/src/game/debugcmds.cpp
index 98d0984f545..deb044be7b3 100644
--- a/src/game/debugcmds.cpp
+++ b/src/game/debugcmds.cpp
@@ -30,6 +30,7 @@
#include "GossipDef.h"
#include "Language.h"
#include "MapManager.h"
+#include "BattleGroundMgr.h"
bool ChatHandler::HandleDebugInArcCommand(const char* /*args*/)
{
@@ -512,3 +513,9 @@ bool ChatHandler::HandleGetItemState(const char* args)
return true;
}
+
+bool ChatHandler::HandleDebugArenaCommand(const char * /*args*/)
+{
+ sBattleGroundMgr.ToggleArenaTesting();
+ return true;
+}