Make WaypointMgr to singleton.

Move global waypoint_map variable to WaypointMgr's private variable.

--HG--
branch : trunk
This commit is contained in:
Anubisss committed 2010-05-13 00:08:30 +02:00
1 parent 8223af6576
commit 4a448eca37
6 files changed
+11 -9

No files matched your search

+1 -1
View File
@@ -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;
}