aboutsummaryrefslogtreecommitdiff
path: root/src/game/World.cpp
diff options
context:
space:
mode:
authorAnubisss <none@none>2010-05-13 00:08:30 +0200
committerAnubisss <none@none>2010-05-13 00:08:30 +0200
commit4a448eca37a5a5409d39d4036db3793cfa27edf8 (patch)
tree62c1cb0ec5962173ad0cfafa36a3d513846e813f /src/game/World.cpp
parent8223af6576f17e4e402600bae844c5e7c6d74bda (diff)
Make WaypointMgr to singleton.
Move global waypoint_map variable to WaypointMgr's private variable. --HG-- branch : trunk
Diffstat (limited to 'src/game/World.cpp')
-rw-r--r--src/game/World.cpp2
1 files changed, 1 insertions, 1 deletions
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();