summaryrefslogtreecommitdiff
path: root/src/map/battle.h
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2014-01-16 17:21:39 -0800
committerHaruna <haru@dotalux.com>2014-01-16 17:21:39 -0800
commite9affc57d6a03e0cc860f8364c8a349e22906b4a (patch)
treecc85d2c1109ce7385bee4c211af5027ae591ebab /src/map/battle.h
parent4874a3cf8b107457b703d0ece8d5102b08ef7702 (diff)
parent0267cad28133b4c245f1cf100a24ab8a14cf2a73 (diff)
downloadhercules-e9affc57d6a03e0cc860f8364c8a349e22906b4a.tar.gz
hercules-e9affc57d6a03e0cc860f8364c8a349e22906b4a.tar.bz2
hercules-e9affc57d6a03e0cc860f8364c8a349e22906b4a.tar.xz
hercules-e9affc57d6a03e0cc860f8364c8a349e22906b4a.zip
Merge pull request #251 from panikon/master
Function types behaviour
Diffstat (limited to 'src/map/battle.h')
-rw-r--r--src/map/battle.h2
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? */