summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index fdac13afc..7e724b0d0 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1204,11 +1204,8 @@ static struct Damage battle_calc_weapon_attack(
break;
}
case HFLI_SBR44: //[orn]
- if(src->type == BL_HOM){
- TBL_HOM *hd = (TBL_HOM*)src;
- wd.damage = hd->master->homunculus.intimacy ;
- hd->master->homunculus.intimacy = 200;
- clif_send_homdata(hd->master,0x100,hd->master->homunculus.intimacy/100);
+ if(src->type == BL_HOM && ((TBL_HOM*)src)->master) {
+ wd.damage = ((TBL_HOM*)src)->master->homunculus.intimacy ;
break;
}
default: