diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/pc.c | 4 | ||||
-rw-r--r-- | src/map/pc.h | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 41c09fd33..7427348fe 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -99,10 +99,6 @@ int pc_class2idx(int class_) { return class_; } -inline int pc_get_group_id(struct map_session_data *sd) { - return sd->group_id; -} - inline int pc_get_group_level(struct map_session_data *sd) { return sd->group_level; } diff --git a/src/map/pc.h b/src/map/pc.h index 27f4c0b12..ff65d9824 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -696,7 +696,7 @@ enum equip_pos { int pc_class2idx(int class_); int pc_get_group_level(struct map_session_data *sd); -int pc_get_group_id(struct map_session_data *sd); +#define pc_get_group_id(sd) ( (sd)->group_id ) int pc_getrefinebonus(int lv,int type); bool pc_can_give_items(struct map_session_data *sd); |