diff options
author | shennetsind <ind@henn.et> | 2013-04-22 19:47:46 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-04-22 19:47:46 -0300 |
commit | ae8b835bae40e0d6908bae42c963d536534d3e93 (patch) | |
tree | db9372247c07e49b2eb66e242db2ddf4c0fc57a0 /src | |
parent | eb4661ae58069687732794e03751ac9da48b3689 (diff) | |
download | hercules-ae8b835bae40e0d6908bae42c963d536534d3e93.tar.gz hercules-ae8b835bae40e0d6908bae42c963d536534d3e93.tar.bz2 hercules-ae8b835bae40e0d6908bae42c963d536534d3e93.tar.xz hercules-ae8b835bae40e0d6908bae42c963d536534d3e93.zip |
Fixed Bug#7180
some weird msvc-9 problem.
http://hercules.ws/board/tracker/issue-7180-unresolved-external-symbol-pc-get-group-id/
Signed-off-by: shennetsind <ind@henn.et>
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); |