summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}