From cd1be22f3a10c2da4817ebf10cd1425f443c6a10 Mon Sep 17 00:00:00 2001 From: Haru Date: Wed, 21 May 2014 15:59:59 +0200 Subject: Corrected a nullpo report in 4c8d773d72ae134f7cc4d43861104ecd9f4ae134 Special thanks to ossi0110 Signed-off-by: Haru --- src/map/status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/status.c') diff --git a/src/map/status.c b/src/map/status.c index e76cd86a3..a1a7e1969 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -6944,7 +6944,7 @@ int status_change_start(struct block_list *src, struct block_list *bl, enum sc_t return 0; break; case SC_CLOAKING: - if( !skill->can_cloak(sd, bl) ) + if (sd && !skill->can_cloak(sd)) return 0; break; case SC_MODECHANGE: -- cgit v1.2.3-60-g2f50