summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/status.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 4022565e0..4b4609fa5 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -2537,6 +2537,9 @@ void status_calc_bl_sub_hom(struct homun_data *hd, unsigned long flag) //[orn]
struct status_data *status = &hd->battle_status, *b_status = &hd->base_status;
int skill = 0;
+ if (!hd->master)
+ return; //Don't do anything if there isn't a master...
+
if(flag&(SCB_MAXHP|SCB_VIT))
{
flag|=SCB_MAXHP; //Ensures client-side refresh