Added debug output to navi.cpp (#7765)

Add Loading info to write_npc_distances() for resolving potential halts
This commit is contained in:
Stolao 2023-05-17 05:20:10 -07:00 committed by GitHub
parent 7c18321138
commit ccd7e5c14a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;