From e829011073ff9906542b1bc0f5615f714c91eff0 Mon Sep 17 00:00:00 2001 From: panikon Date: Wed, 9 Jul 2014 00:55:38 -0300 Subject: Fixed possible crash in clif_getareachar_skillunit, related to issue 6561 (http://hercules.ws/board/tracker/issue-6561-unknown-map-server-crash/) Follow up to 29de937a2d8b485498fa9ce573efebfb64e8d669 --- src/map/status.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/status.c') 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; -- cgit v1.2.3-70-g09d2