diff options
author | blackhole89 <blackhole89@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-09 20:26:45 +0000 |
---|---|---|
committer | blackhole89 <blackhole89@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-09 20:26:45 +0000 |
commit | b45baa6bfcd406e8344e4337c6f9c44e55287ccb (patch) | |
tree | 40bdfb18ec1af6b708f27d5d435c9d5dbf83f5e3 /src/map/skill.c | |
parent | b84f8eb92e9a6d93e34dc4a6b8127f92998b36f1 (diff) | |
download | hercules-b45baa6bfcd406e8344e4337c6f9c44e55287ccb.tar.gz hercules-b45baa6bfcd406e8344e4337c6f9c44e55287ccb.tar.bz2 hercules-b45baa6bfcd406e8344e4337c6f9c44e55287ccb.tar.xz hercules-b45baa6bfcd406e8344e4337c6f9c44e55287ccb.zip |
only the first 22 CSVs were read in, but MAX_WEAPON_TYPE+5 was 27 -> uninitialized array indices got atoi'd
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5539 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 8525858a1..1524831a5 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -6272,9 +6272,13 @@ int skill_castend_pos2( struct block_list *src, int x,int y,int skillid,int skil case NJ_KAENSIN:
case NJ_BAKUENRYU:
case NJ_HYOUSYOURAKU:
- case NJ_RAIGEKISAI:
skill_unitsetting(src,skillid,skilllv,x,y,0);
break;
+ case NJ_RAIGEKISAI:
+ map_foreachinrange(skill_attack_area, src,
+ skill_get_splash(skillid, skilllv), BL_CHAR,
+ BF_MAGIC, src, src, skillid, skilllv, tick, flag, BCT_ENEMY);
+ break;
}
if (sc && sc->data[SC_MAGICPOWER].timer != -1)
|