From df801754db61508ccb447b26f6b2b2aa9a304f9e Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Fri, 2 May 2008 17:14:00 +0000 Subject: * 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 --- src/map/status.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/map/status.c') 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; -- cgit v1.2.3-60-g2f50