summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index d5fe1efa6..250d5780b 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -8755,7 +8755,7 @@ int skill_delayfix (struct block_list *bl, int skill_id, int skill_lv)
}
}
- if (sc->data[SC_SPIRIT])
+ if ( sc && sc->data[SC_SPIRIT] )
{
switch (skill_id) {
case CR_SHIELDBOOMERANG: