From 0f3b9019a88777bef8383e699d27a7e8615f93f2 Mon Sep 17 00:00:00 2001 From: Shauren Date: Wed, 22 Dec 2010 21:25:23 +0100 Subject: Core: Get rid of dirty operator workaround for ACE_Singleton class implementation --HG-- branch : trunk --- src/server/scripts/Examples/example_misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts/Examples') diff --git a/src/server/scripts/Examples/example_misc.cpp b/src/server/scripts/Examples/example_misc.cpp index 98a7323e1dd..ee91568d0c5 100644 --- a/src/server/scripts/Examples/example_misc.cpp +++ b/src/server/scripts/Examples/example_misc.cpp @@ -58,7 +58,7 @@ class ItemUse_example_item : public ItemScript bool OnUse(Player* /*player*/, Item* /*item*/, SpellCastTargets const& /*targets*/) { - sScriptMgr.LoadDatabase(); + sScriptMgr->LoadDatabase(); return true; } }; -- cgit v1.2.3