Core/WaypointMgr: Fixed crashes when loading data with waypoint_data.id=0 and fixed memory leaks in .wp reload command
This commit is contained in:
@@ -194,7 +194,7 @@ public:
|
||||
return false;
|
||||
|
||||
handler->PSendSysMessage("%s%s|r|cff00ffff%u|r", "|cff00ff00", "Loading Path: ", id);
|
||||
sWaypointMgr->UpdatePath(id);
|
||||
sWaypointMgr->ReloadPath(id);
|
||||
return true;
|
||||
}
|
||||
static bool HandleWpUnLoadCommand(ChatHandler* handler, const char* /*args*/)
|
||||
|
||||
Reference in New Issue
Block a user