diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-05-02 17:14:00 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-05-02 17:14:00 +0000 |
commit | df801754db61508ccb447b26f6b2b2aa9a304f9e (patch) | |
tree | c92a997f8327b0256fe665c62ca1b2b35346af18 /src/map/status.c | |
parent | e67711acbe9d29a2feb9293fccc72cd15603ee76 (diff) | |
download | hercules-df801754db61508ccb447b26f6b2b2aa9a304f9e.tar.gz hercules-df801754db61508ccb447b26f6b2b2aa9a304f9e.tar.bz2 hercules-df801754db61508ccb447b26f6b2b2aa9a304f9e.tar.xz hercules-df801754db61508ccb447b26f6b2b2aa9a304f9e.zip |
* Changes to map_foreach* functions:
- removed the unecessary use of va_copy in map_foreachpc
- applied the same function pattern to map_foreachmob and map_foreachiddb
- created map_foreachnpc
- extended the behaviour of map_foreach* functions to stop iterating when func returns -1
(also added missing changelog entries from ultramage >.>)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12684 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c index 6f170bb96..c30833314 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -7228,9 +7228,8 @@ int status_change_clear_buffs (struct block_list* bl, int type) //Natural regen related stuff. static unsigned int natural_heal_prev_tick,natural_heal_diff_tick; -static int status_natural_heal(DBKey key,void * data,va_list ap) +static int status_natural_heal(struct block_list* bl, va_list args) { - struct block_list *bl = (struct block_list*)data; struct regen_data *regen; struct status_data *status; struct status_change *sc; |