diff options
author | malufett <malufett.eat.my.binaries@gmail.com> | 2013-06-14 01:59:38 -0700 |
---|---|---|
committer | Euphy <euphy@rathena.org> | 2013-06-15 15:55:04 -0400 |
commit | 120f66ccd935a1522bb70361ccd6d70829862e56 (patch) | |
tree | 268ba409af3a59ed20afc10b273f5a814276128c /src/map/npc.c | |
parent | e600fec6e33d1677c147fe933d7f58ea5fc80a7a (diff) | |
download | hercules-120f66ccd935a1522bb70361ccd6d70829862e56.tar.gz hercules-120f66ccd935a1522bb70361ccd6d70829862e56.tar.bz2 hercules-120f66ccd935a1522bb70361ccd6d70829862e56.tar.xz hercules-120f66ccd935a1522bb70361ccd6d70829862e56.zip |
Fixed Bug#7362, Bug#7363 & Bug#7355
Fixed compilation error and server console error.
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 5e03191e7..f4027096c 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -276,7 +276,7 @@ int npc_rr_secure_timeout_timer(int tid, unsigned int tick, int id, intptr_t dat clif->scriptclear(sd,sd->npc_id); sd->npc_idle_timer = INVALID_TIMER; } else //Create a new instance of ourselves to continue - sd->npc_idle_timer = add_timer(gettick() + (SECURE_NPCTIMEOUT_INTERVAL*1000),npc_rr_secure_timeout_timer,sd->bl.id,0); + sd->npc_idle_timer = iTimer->add_timer(iTimer->gettick() + (SECURE_NPCTIMEOUT_INTERVAL*1000),npc_rr_secure_timeout_timer,sd->bl.id,0); return 0; } #endif @@ -1245,7 +1245,7 @@ int npc_scriptcont(struct map_session_data* sd, int id, bool closing) /** * Update the last NPC iteration **/ - sd->npc_idle_tick = gettick(); + sd->npc_idle_tick = iTimer->gettick(); #endif /** |