summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 4974624e2..343a4d604 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2719,9 +2719,10 @@ static struct block_list *mob_getfriendhprate(struct mob_data *md,int min_rate,i
*------------------------------------------*/
struct block_list *mob_getmasterhpltmaxrate(struct mob_data *md,int rate)
{
- if (md && md->master_id > 0) {
+ if( md && md->master_id > 0 )
+ {
struct block_list *bl = map_id2bl(md->master_id);
- if (bl && status_calc_life(status_get_hp(bl), status_get_max_hp(bl)) < rate);
+ if( bl && status_calc_life(status_get_hp(bl), status_get_max_hp(bl)) < rate )
return bl;
}