Make WaypointMgr to singleton.
Move global waypoint_map variable to WaypointMgr's private variable. --HG-- branch : trunk
This commit is contained in:
1 parent
8223af6576
commit
4a448eca37
6 files changed
+11
-9
No files matched your search
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user