Commit 0dd8f27c authored by haoshuang's avatar haoshuang

将地图初始化放在最开始的地方

parents fe14b68f 78c09657
......@@ -55,8 +55,8 @@ void JfxEvents::Init(std::string map_path, std::string map_dir,std::string map_c
//m_OfflineMap.reset(new jf::MapInterface(dir, m_cfg.map_cfg));
dir = map_path + map_dir;
SDK_LOG(SDK_INFO, "dir = %s, cfg = %s", dir.c_str(), map_cfg.c_str());
m_OfflineMap.reset(new jf::MapInterface(dir, map_cfg));
m_OfflineMap.reset(new jf::MapInterface());
m_OfflineMap->Init(dir,map_cfg);
m_Queue.set_max_num_items(1);
m_sendQueue.set_max_num_items(10);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment