From 4a448eca37a5a5409d39d4036db3793cfa27edf8 Mon Sep 17 00:00:00 2001 From: Anubisss Date: Thu, 13 May 2010 00:08:30 +0200 Subject: Make WaypointMgr to singleton. Move global waypoint_map variable to WaypointMgr's private variable. --HG-- branch : trunk --- src/game/World.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/World.cpp') diff --git a/src/game/World.cpp b/src/game/World.cpp index 0ef07e143ba..dced43596a4 100644 --- a/src/game/World.cpp +++ b/src/game/World.cpp @@ -1562,7 +1562,7 @@ void World::SetInitialWorldSettings() objmgr.LoadTrainerSpell(); // must be after load CreatureTemplate sLog.outString("Loading Waypoints..."); - WaypointMgr.Load(); + sWaypointMgr->Load(); sLog.outString("Loading Creature Formations..."); formation_mgr.LoadCreatureFormations(); -- cgit v1.2.3