From 4a448eca37a5a5409d39d4036db3793cfa27edf8 Mon Sep 17 00:00:00 2001 From: Anubisss Date: Thu, 13 May 2010 00:08:30 +0200 Subject: Make WaypointMgr to singleton. Move global waypoint_map variable to WaypointMgr's private variable. --HG-- branch : trunk --- src/game/Level2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Level2.cpp') 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; } -- cgit v1.2.3