diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-20 20:03:39 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-20 20:03:39 +0000 |
commit | b618a5972a3fe0add853a578d0dd8b05a2e32261 (patch) | |
tree | 9a024c0090c266be3c56754c1378b8b2af661131 /src/map | |
parent | 1873f00935e96730fdb52ca357ffbd2311d79bec (diff) | |
download | hercules-b618a5972a3fe0add853a578d0dd8b05a2e32261.tar.gz hercules-b618a5972a3fe0add853a578d0dd8b05a2e32261.tar.bz2 hercules-b618a5972a3fe0add853a578d0dd8b05a2e32261.tar.xz hercules-b618a5972a3fe0add853a578d0dd8b05a2e32261.zip |
gcc 2.95 compile fixes
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@678 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/pc.c | 4 | ||||
-rw-r--r-- | src/map/skill.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 0e749ead2..09b8b8c4d 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -963,9 +963,9 @@ int pc_calc_skilltree(struct map_session_data *sd) do { flag=0; for(i=0;(id=skill_tree[s][c][i].id)>0;i++){ + int j,f=1; if(skill_get_inf2(id)) continue; - int j,f=1; if(!battle_config.skillfree) { for(j=0;j<5;j++) { if( skill_tree[s][c][i].need[j].id && @@ -980,9 +980,9 @@ int pc_calc_skilltree(struct map_session_data *sd) } } for(i=0;(id=skill_tree[s][s_class.job][i].id)>0;i++){ + int j,f=1; if(!skill_get_inf2(id)) continue; - int j,f=1; if(!battle_config.skillfree) { for(j=0;j<5;j++) { if( skill_tree[s][s_class.job][i].need[j].id && diff --git a/src/map/skill.c b/src/map/skill.c index f74409caf..dacd08e88 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -5228,10 +5228,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; nullpo_retr(0, src); - struct status_change *sc_data = battle_get_sc_data(src); // for firewall and fogwall - celest + sc_data = battle_get_sc_data(src); // for firewall and fogwall - celest switch(skillid){ /* ݒ */ |