summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-20 17:29:43 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-20 17:29:43 +0000
commitd052e1dd288ca87f38a5ba5ac95ed881a4125b92 (patch)
treeeb6739e38f8c380b0b819de81f0193fac30d1f0d /src
parent3dfffae1017efd6d0e2674265ccc3273d671f236 (diff)
downloadhercules-d052e1dd288ca87f38a5ba5ac95ed881a4125b92.tar.gz
hercules-d052e1dd288ca87f38a5ba5ac95ed881a4125b92.tar.bz2
hercules-d052e1dd288ca87f38a5ba5ac95ed881a4125b92.tar.xz
hercules-d052e1dd288ca87f38a5ba5ac95ed881a4125b92.zip
<Valaris> struct skill_unit_group *skill_unitsetting( struct
<Valaris> move the nullpo above struct status_change *sc_data = battle_get_sc_data(src); git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@660 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 273b14f1a..ddfb04965 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -5227,10 +5227,11 @@ struct skill_unit_group *skill_unitsetting( struct block_list *src, int skillid,
int i,count=1,limit=10000,val1=0,val2=0;
int target=BCT_ENEMY,interval=1000,range=0;
int dir=0,aoe_diameter=0; // -- aoe_diameter (moonsoul) added for sage Area Of Effect skills
- struct status_change *sc_data = battle_get_sc_data(src); // for firewall and fogwall - celest
nullpo_retr(0, src);
+ struct status_change *sc_data = battle_get_sc_data(src); // for firewall and fogwall - celest
+
switch(skillid){ /* 設定 */
case MG_SAFETYWALL: /* セイフティウォ?ル */