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/pc.c | |
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/pc.c')
-rw-r--r-- | src/map/pc.c | 4 |
1 files changed, 2 insertions, 2 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 && |