<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://svn.code.sf.net/p/rathena/svn/branches/stable@660 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Lupus 2004-12-20 17:29:43 +00:00
parent e4f54a734c
commit b69ed93d1f

View File

@ -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: /* セイフティウォ?ル */