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/status.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/status.c')
-rw-r--r-- | src/map/status.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/status.c b/src/map/status.c index b362a15cd..70c1074d6 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -6714,7 +6714,7 @@ int status_change_end(struct block_list* bl, enum sc_type type, int tid) return 1; } -int kaahi_heal_timer(int tid, unsigned int tick, int id, int data) +int kaahi_heal_timer(int tid, unsigned int tick, int id, intptr data) { struct block_list *bl; struct status_change *sc; @@ -6751,7 +6751,7 @@ int kaahi_heal_timer(int tid, unsigned int tick, int id, int data) /*========================================== * ステータス異常終了タイマー *------------------------------------------*/ -int status_change_timer(int tid, unsigned int tick, int id, int data) +int status_change_timer(int tid, unsigned int tick, int id, intptr data) { enum sc_type type = (sc_type)data; struct block_list *bl; @@ -7426,7 +7426,7 @@ static int status_natural_heal(DBKey key,void * data,va_list ap) } //Natural heal main timer. -static int status_natural_heal_timer(int tid,unsigned int tick,int id,int data) +static int status_natural_heal_timer(int tid, unsigned int tick, int id, intptr data) { natural_heal_diff_tick = DIFF_TICK(tick,natural_heal_prev_tick); map_foreachiddb(status_natural_heal); |