From 6860ff92acdb9a018e9085676299ef631ecea57c Mon Sep 17 00:00:00 2001 From: panikon Date: Tue, 14 Jan 2014 00:07:55 -0200 Subject: Updated return values of some atcommands. Altered many function types from int to bool(C99) and added meaningful return values. Altered many function types from int to void as they didn't have any meaningful return value. Replaced chrif_char_offline with a macro as this function did exactly the same as chrif_char_offline_nsd. --- src/map/battle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/battle.h') diff --git a/src/map/battle.h b/src/map/battle.h index ed5e40988..98f2e37e8 100644 --- a/src/map/battle.h +++ b/src/map/battle.h @@ -559,7 +559,7 @@ struct battle_interface { /* the current skill being processed/casted by this unit */ int (*get_current_skill) (struct block_list *bl); /* is either this race or element enough to be considered undead? */ - int (*check_undead) (int race,int element); + bool (*check_undead) (int race,int element); /* check if src and target are part of flag (e.g. enemies or allies) */ int (*check_target) (struct block_list *src, struct block_list *target,int flag); /* is src and bl within range? */ -- cgit v1.2.3-60-g2f50