summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-18 03:41:55 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-18 03:41:55 +0000
commit25005184d73ef92ff2aa2698e44de5c0c118aab0 (patch)
tree2b8ff7076e7a17fac216e3979122dd0fd480f4ef /src/map
parent3238a7ff626d448d6291e33e94e473c728d0d0b7 (diff)
downloadhercules-25005184d73ef92ff2aa2698e44de5c0c118aab0.tar.gz
hercules-25005184d73ef92ff2aa2698e44de5c0c118aab0.tar.bz2
hercules-25005184d73ef92ff2aa2698e44de5c0c118aab0.tar.xz
hercules-25005184d73ef92ff2aa2698e44de5c0c118aab0.zip
Fixed gcc warning on pc.c
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15709 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index cdf3bef52..e4554ac72 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -5621,7 +5621,7 @@ int pc_allskillup(struct map_session_data *sd)
continue;
default:
if( !(skill_get_inf2(i)&(INF2_NPC_SKILL|INF2_GUILD_SKILL)) )
- if (sd->status.skill[i].lv=skill_get_max(i))//Nonexistant skills should return a max of 0 anyway.
+ if ( ( sd->status.skill[i].lv = skill_get_max(i) ) )//Nonexistant skills should return a max of 0 anyway.
sd->status.skill[i].id = i;
}
}