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/Level2.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/Level2.cpp')
-rw-r--r-- | src/game/Level2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Level2.cpp b/src/game/Level2.cpp index 14c549b0f1f..4f299c932e8 100644 --- a/src/game/Level2.cpp +++ b/src/game/Level2.cpp @@ -2433,7 +2433,7 @@ bool ChatHandler::HandleReloadAllPaths(const char* args) return false; PSendSysMessage("%s%s|r|cff00ffff%u|r", "|cff00ff00", "Loading Path: ", id); - WaypointMgr.UpdatePath(id); + sWaypointMgr->UpdatePath(id); return true; } |