瀏覽代碼

Added debug output to navi.cpp (#7765)

Add Loading info to write_npc_distances() for resolving potential halts
Stolao 2 年之前
父節點
當前提交
ccd7e5c14a
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/map/navi.cpp

+ 3 - 0
src/map/navi.cpp

@@ -551,6 +551,9 @@ void write_npc_distances() {
 
 	for (int mapid = 0; mapid < map_num; mapid++) {
 		auto m = map_getmapdata(mapid);
+#ifdef DETAILED_LOADING_OUTPUT
+		ShowStatus("Loading [%i/%i]" CL_CLL "\r", mapid, map_num);
+#endif
 		if (m->navi.npcs.size() == 0) {
 			// ShowStatus("Skipped %s NPC distance table, no NPCs in map (%d/%d)\n", map[m].name, m, map_num);
 			continue;