diff options
author | panikon <panikon@zoho.com> | 2014-01-14 00:07:55 -0200 |
---|---|---|
committer | panikon <panikon@zoho.com> | 2014-01-14 00:07:55 -0200 |
commit | 6860ff92acdb9a018e9085676299ef631ecea57c (patch) | |
tree | 3e255d196921bf8557e519d8a1dd1020d8a053b9 /src/map/battle.h | |
parent | 9832e82b0e8dbda38bf4feb18e48cf5335e213ee (diff) | |
download | hercules-6860ff92acdb9a018e9085676299ef631ecea57c.tar.gz hercules-6860ff92acdb9a018e9085676299ef631ecea57c.tar.bz2 hercules-6860ff92acdb9a018e9085676299ef631ecea57c.tar.xz hercules-6860ff92acdb9a018e9085676299ef631ecea57c.zip |
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.
Diffstat (limited to 'src/map/battle.h')
-rw-r--r-- | src/map/battle.h | 2 |
1 files changed, 1 insertions, 1 deletions
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? */ |