summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authormc_cameri <mc_cameri@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-13 10:51:29 +0000
committermc_cameri <mc_cameri@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-13 10:51:29 +0000
commit61ec51abb422c4813347d5f2297e877f3a5ac22b (patch)
tree86df815d650218c554c9c22651af6948312b1f0d /src/map/npc.c
parent7cb9aaf42599afc257f9370ae9aefc3b4aba81c3 (diff)
downloadhercules-61ec51abb422c4813347d5f2297e877f3a5ac22b.tar.gz
hercules-61ec51abb422c4813347d5f2297e877f3a5ac22b.tar.bz2
hercules-61ec51abb422c4813347d5f2297e877f3a5ac22b.tar.xz
hercules-61ec51abb422c4813347d5f2297e877f3a5ac22b.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@552 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index e71fb050b..294058f64 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -21,6 +21,7 @@
#include "pet.h"
#include "battle.h"
#include "skill.h"
+#include "showmsg.h"
#ifdef MEMWATCH
#include "memwatch.h"
@@ -433,8 +434,10 @@ int npc_event_do_clock(int tid,unsigned int tick,int id,int data)
*/
int npc_event_do_oninit(void)
{
- int c = npc_event_doall("OnInit");
- printf("npc: OnInit Event done. (%d npc)\n",c);
+// int c = npc_event_doall("OnInit");
+ sprintf(tmp_output,"Event '\033[1;29mOnInit\033[0;0m' executed with '\033[1"
+ ";29m%d\033[0;0m' NPCs.\n",npc_event_doall("OnInit"));
+ ShowStatus(tmp_output);
add_timer_interval(gettick()+100,
npc_event_do_clock,0,0,1000);