summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authormc_cameri <mc_cameri@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-14 00:33:01 +0000
committermc_cameri <mc_cameri@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-14 00:33:01 +0000
commit4aee20b0e1fdfb23d9336cea77a0985e463ea081 (patch)
tree0cca8570cea1e328d527952640287db50de5d6f6 /src/map/npc.c
parentc9e34e95d3d79d28927300684aaab6940fd03c9e (diff)
downloadhercules-4aee20b0e1fdfb23d9336cea77a0985e463ea081.tar.gz
hercules-4aee20b0e1fdfb23d9336cea77a0985e463ea081.tar.bz2
hercules-4aee20b0e1fdfb23d9336cea77a0985e463ea081.tar.xz
hercules-4aee20b0e1fdfb23d9336cea77a0985e463ea081.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@566 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 294058f64..8f4716ca2 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2219,6 +2219,7 @@ void ev_release(struct dbn *db, int which)
*/
int do_init_npc(void)
{
+ ShowStatus("Loading NPCs...\n");
struct npc_src_list *nsl;
FILE *fp;
char line[1024];
@@ -2297,8 +2298,14 @@ int do_init_npc(void)
// printf("\rLoading NPCs [%d]: %-54s",npc_id-START_NPC_NUM,nsl->name);
// fflush(stdout);
}
- printf("\rNPCs Loaded: %d [Warps:%d Shops:%d Scripts:%d Mobs:%d]\n",
+ printf("\r");
+ sprintf(tmp_output,"Done loading '"CL_WHITE"%d"CL_RESET"' NPCs:\n\t-'"
+ CL_WHITE"%d"CL_RESET"' Warps\n\t-'"
+ CL_WHITE"%d"CL_RESET"' Shops\n\t-'"
+ CL_WHITE"%d"CL_RESET"' Scripts\n\t-'"
+ CL_WHITE"%d"CL_RESET"' Mobs\n",
npc_id-START_NPC_NUM,npc_warp,npc_shop,npc_script,npc_mob);
+ ShowInfo(tmp_output);
add_timer_func_list(npc_walktimer,"npc_walktimer"); // [Valaris]
add_timer_func_list(npc_event_timer,"npc_event_timer");