diff options
author | Haru <haru@dotalux.com> | 2019-08-26 00:56:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-26 00:56:58 +0200 |
commit | ad7ebbedf81c54fdb43f4b4e41aed9fd48543e47 (patch) | |
tree | aaace787d264862281f8dce558b7cb7e03d0bf71 /src/map/mob.c | |
parent | 9f4065570cff47b23eba3c862e994869520a6f8a (diff) | |
parent | 1feeb9dc68f4c4125a4fde018456a6432632b042 (diff) | |
download | hercules-ad7ebbedf81c54fdb43f4b4e41aed9fd48543e47.tar.gz hercules-ad7ebbedf81c54fdb43f4b4e41aed9fd48543e47.tar.bz2 hercules-ad7ebbedf81c54fdb43f4b4e41aed9fd48543e47.tar.xz hercules-ad7ebbedf81c54fdb43f4b4e41aed9fd48543e47.zip |
Merge pull request #2513 from Emistry/itemdb_read_combos
Fix missing file path in console.
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); } /*========================================== |