summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-05 23:01:06 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-05 23:01:06 +0000
commitbc4983ea0bac63948d231446825ca4c00c3eeeee (patch)
tree83e9d2289a286c5fe863354c5f1b5158903042bd /src/map/skill.c
parentb3391c0862bcd0416145f24bfa5687d950eb9bea (diff)
downloadhercules-bc4983ea0bac63948d231446825ca4c00c3eeeee.tar.gz
hercules-bc4983ea0bac63948d231446825ca4c00c3eeeee.tar.bz2
hercules-bc4983ea0bac63948d231446825ca4c00c3eeeee.tar.xz
hercules-bc4983ea0bac63948d231446825ca4c00c3eeeee.zip
- Fixed a crash when using SL_SMA and the "combo" ain't ready.
- Hopefully fixed changing a mob's class causing them to get all sort of stat bonuses due to the mobs-level-up setting. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6994 54d463be-8e91-2dee-dedb-b68131a5f0ec
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 2a0f04527..7a667bf22 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -7790,7 +7790,7 @@ int skill_check_condition(struct map_session_data *sd,int skill, int lv, int typ
break;
case SL_SMA:
if(type) break; //Only do the combo check when the target is selected (type == 0)
- if(!sd || sc->data[SC_SMA].timer == -1)
+ if(!sc || sc->data[SC_SMA].timer == -1)
return 0;
break;