From 8b2d63b9588da55825a0311042e9f639fb06fc94 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> Date: Wed, 2 Feb 2005 06:19:20 +0000 Subject: git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1021 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/skill.c b/src/map/skill.c index ed6cf3436..2d3f07aac 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -811,7 +811,8 @@ int skill_count_target(struct block_list *bl, va_list ap ); // [MouseJstr] - skill ok to cast? and when? int skillnotok(int skillid, struct map_session_data *sd) { - nullpo_retr (1, sd); + if (sd == 0) + return 0; if (!(skillid >= 10000 && skillid < 10015)) if ((skillid > MAX_SKILL) || (skillid < 0)) -- cgit v1.2.3-70-g09d2