diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/clif.c | 2 | ||||
-rw-r--r-- | src/map/status.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index bc3e0ce9f..8ddae3326 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -4622,6 +4622,8 @@ void clif_graffiti_entry(struct block_list *bl, struct skill_unit *su, enum send /// 099f <lenght>.W <id> L <creator id>.L <x>.W <y>.W <unit id>.L <range>.W <visible>.B (ZC_SKILL_ENTRY4) void clif_getareachar_skillunit(struct block_list *bl, struct skill_unit *su, enum send_target target) { struct packet_skill_entry p; + nullpo_retv(bl); + nullpo_retv(su); if( su->group->state.guildaura ) return; diff --git a/src/map/status.c b/src/map/status.c index 499c50e3b..915559260 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -3414,6 +3414,7 @@ void status_calc_regen(struct block_list *bl, struct status_data *st, struct reg struct map_session_data *sd; int val, skill_lv, reg_flag; nullpo_retv(bl); + nullpo_retv(st); if( !(bl->type&BL_REGEN) || !regen ) return; |