aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Battlegrounds/BattlegroundMgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/Battlegrounds/BattlegroundMgr.h')
-rw-r--r--src/server/game/Battlegrounds/BattlegroundMgr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Battlegrounds/BattlegroundMgr.h b/src/server/game/Battlegrounds/BattlegroundMgr.h
index 21b87d2bb1f..c21c34d1a10 100644
--- a/src/server/game/Battlegrounds/BattlegroundMgr.h
+++ b/src/server/game/Battlegrounds/BattlegroundMgr.h
@@ -64,8 +64,8 @@ class BattlegroundMgr
public:
static BattlegroundMgr* instance()
{
- static BattlegroundMgr* instance = new BattlegroundMgr();
- return instance;
+ static BattlegroundMgr instance;
+ return &instance;
}
void Update(uint32 diff);