diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-21 21:34:31 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-21 21:34:31 +0000 |
commit | bc9e0854a2c7336c6f7b4a388b5ff00b9f4865e8 (patch) | |
tree | 3aa7da07fc43116707de469034c7cf8186e8b2d5 /src/map/npc.c | |
parent | b21c980c03ea476e324c714a9ad2d5eff5cb981d (diff) | |
download | hercules-bc9e0854a2c7336c6f7b4a388b5ff00b9f4865e8.tar.gz hercules-bc9e0854a2c7336c6f7b4a388b5ff00b9f4865e8.tar.bz2 hercules-bc9e0854a2c7336c6f7b4a388b5ff00b9f4865e8.tar.xz hercules-bc9e0854a2c7336c6f7b4a388b5ff00b9f4865e8.zip |
* Changed the data field of timers from int to intptr.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12633 54d463be-8e91-2dee-dedb-b68131a5f0ec
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 eb6a7effd..92f61564c 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -302,7 +302,7 @@ int npc_event_doall_id(const char* name, int rid) /*========================================== * 時計イベント実行 *------------------------------------------*/ -int npc_event_do_clock(int tid, unsigned int tick, int id, int data) +int npc_event_do_clock(int tid, unsigned int tick, int id, intptr data) { static struct tm ev_tm_b; // tracks previous execution time time_t timer; @@ -397,7 +397,7 @@ struct timer_event_data { /*========================================== * タイマーイベント実行 *------------------------------------------*/ -int npc_timerevent(int tid, unsigned int tick, int id, int data) +int npc_timerevent(int tid, unsigned int tick, int id, intptr data) { int next,t,old_rid,old_timer; unsigned int old_tick; |