summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-04 11:00:51 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-04 11:00:51 +0000
commit83b5f1fcc494f68448a91873bf77cbee60da74e6 (patch)
treec248360f584633032b5399e612c3c6f202175f0a /src/map/pc.c
parent93e451c8629c46ec86d01c6d573e3c8dca2ed3d8 (diff)
downloadhercules-83b5f1fcc494f68448a91873bf77cbee60da74e6.tar.gz
hercules-83b5f1fcc494f68448a91873bf77cbee60da74e6.tar.bz2
hercules-83b5f1fcc494f68448a91873bf77cbee60da74e6.tar.xz
hercules-83b5f1fcc494f68448a91873bf77cbee60da74e6.zip
Fixed a couple compiling warnings
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16375 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 7d464cbc9..965636da5 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -96,13 +96,11 @@ int pc_class2idx(int class_) {
return class_;
}
-int inline pc_get_group_id(struct map_session_data *sd)
-{
+inline int pc_get_group_id(struct map_session_data *sd) {
return sd->group_id;
}
-int inline pc_get_group_level(struct map_session_data *sd)
-{
+inline int pc_get_group_level(struct map_session_data *sd) {
return pc_group_id2level(pc_get_group_id(sd));
}