From d7ae4bbd7f8bd194a795f6e3972057bc41f09a6e Mon Sep 17 00:00:00 2001 From: Cydh Ramdh Date: Wed, 1 Jul 2015 06:31:12 +0700 Subject: [PATCH] Fixed compile warning Signed-off-by: Cydh Ramdh --- src/map/pet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/pet.c b/src/map/pet.c index c1760ddd1a..19fd304f7c 100644 --- a/src/map/pet.c +++ b/src/map/pet.c @@ -64,7 +64,7 @@ void pet_set_intimate(struct pet_data *pd, int value) pd->pet.intimate = value; - if( sd && (intimate >= battle_config.pet_equip_min_friendly && pd->pet.intimate < battle_config.pet_equip_min_friendly) || (intimate < battle_config.pet_equip_min_friendly && pd->pet.intimate >= battle_config.pet_equip_min_friendly) ) + if( sd && ((intimate >= battle_config.pet_equip_min_friendly && pd->pet.intimate < battle_config.pet_equip_min_friendly) || (intimate < battle_config.pet_equip_min_friendly && pd->pet.intimate >= battle_config.pet_equip_min_friendly)) ) status_calc_pc(sd,SCO_NONE); }