diff options
author | Anubisss <none@none> | 2010-05-13 00:08:30 +0200 |
---|---|---|
committer | Anubisss <none@none> | 2010-05-13 00:08:30 +0200 |
commit | 4a448eca37a5a5409d39d4036db3793cfa27edf8 (patch) | |
tree | 62c1cb0ec5962173ad0cfafa36a3d513846e813f /src/game/World.cpp | |
parent | 8223af6576f17e4e402600bae844c5e7c6d74bda (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.cpp | 2 |
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(); |