summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-03 16:06:02 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-03 16:06:02 +0000
commit9c32e75e2d552c22e0ff719bc77a435bea1391e8 (patch)
treebfdc618c1ef1b4ab06f923abbbfcc6ca204b7f2f /src/map
parent0dced8dacdf00566e2a46608362a15219665bc85 (diff)
downloadhercules-9c32e75e2d552c22e0ff719bc77a435bea1391e8.tar.gz
hercules-9c32e75e2d552c22e0ff719bc77a435bea1391e8.tar.bz2
hercules-9c32e75e2d552c22e0ff719bc77a435bea1391e8.tar.xz
hercules-9c32e75e2d552c22e0ff719bc77a435bea1391e8.zip
- An extra ; removed. Reported by Itakou.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12282 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-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;
}