diff options
author | Emistry Haoyan <equinox1991@gmail.com> | 2019-07-30 00:23:50 +0800 |
---|---|---|
committer | Emistry Haoyan <equinox1991@gmail.com> | 2019-07-30 23:40:37 +0800 |
commit | 1feeb9dc68f4c4125a4fde018456a6432632b042 (patch) | |
tree | 41ba349ab0920ccf46b0ec78b4260b3f4f22c215 /src/map/mob.c | |
parent | 0edf2360b185f0e1c68bb6ddbbbe3720af5651b3 (diff) | |
download | hercules-1feeb9dc68f4c4125a4fde018456a6432632b042.tar.gz hercules-1feeb9dc68f4c4125a4fde018456a6432632b042.tar.bz2 hercules-1feeb9dc68f4c4125a4fde018456a6432632b042.tar.xz hercules-1feeb9dc68f4c4125a4fde018456a6432632b042.zip |
Fix missing file path in console.
- show file path
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 283bec25a..bad3f7eb8 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -4959,7 +4959,7 @@ static int mob_read_libconfig(const char *filename, bool ignore_missing) } } libconfig->destroy(&mob_db_conf); - ShowStatus("Done reading '"CL_WHITE"%d"CL_RESET"' entries in '"CL_WHITE"%s"CL_RESET"'.\n", count, filename); + ShowStatus("Done reading '"CL_WHITE"%d"CL_RESET"' entries in '"CL_WHITE"%s"CL_RESET"'.\n", count, filepath); return count; } @@ -5082,7 +5082,7 @@ static int mob_read_randommonster(void) summon[i].qty = 1; } fclose(fp); - ShowStatus("Done reading '"CL_WHITE"%u"CL_RESET"' entries in '"CL_WHITE"%s"CL_RESET"'.\n",count,mobfile[i]); + ShowStatus("Done reading '"CL_WHITE"%u"CL_RESET"' entries in '"CL_WHITE"%s/%s"CL_RESET"'.\n",count, map->db_path, mobfile[i]); } return 0; } @@ -5199,7 +5199,7 @@ static void mob_readchatdb(void) count++; } fclose(fp); - ShowStatus("Done reading '"CL_WHITE"%"PRIu32""CL_RESET"' entries in '"CL_WHITE"%s"CL_RESET"'.\n", count, arc); + ShowStatus("Done reading '"CL_WHITE"%"PRIu32""CL_RESET"' entries in '"CL_WHITE"%s"CL_RESET"'.\n", count, filepath); } /*========================================== |