summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 5af6a080e..15d2637ae 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -4379,7 +4379,7 @@ int pc_skillup(struct map_session_data *sd,int skill_num)
return 0;
}
- if(skill_num >= HM_SKILLBASE){
+ if(skill_num >= HM_SKILLBASE && sd->hd){
merc_hom_skillup(sd->hd, skill_num);
return 0;
}