summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-09-28 17:55:34 -0300
committershennetsind <ind@henn.et>2013-09-28 17:55:34 -0300
commit62e6b7335c9bf0b30d5ca392c0c5dedbe2768dc9 (patch)
tree004933d5e2d1e4252fc1ac76e8f71ccec8367541 /src/map/clif.c
parent871f83f62bf4eb1043bbda182fe0346454686a16 (diff)
downloadhercules-62e6b7335c9bf0b30d5ca392c0c5dedbe2768dc9.tar.gz
hercules-62e6b7335c9bf0b30d5ca392c0c5dedbe2768dc9.tar.bz2
hercules-62e6b7335c9bf0b30d5ca392c0c5dedbe2768dc9.tar.xz
hercules-62e6b7335c9bf0b30d5ca392c0c5dedbe2768dc9.zip
HPM: pc.c Completed
Moved missing vars and declarations of interest into the interface. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index d69d501ac..e260c3a1b 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -14000,9 +14000,9 @@ void clif_ranklist_sub(unsigned char *buf, enum fame_list_type type) {
int i;
switch( type ) {
- case RANKTYPE_BLACKSMITH: list = smith_fame_list; break;
- case RANKTYPE_ALCHEMIST: list = chemist_fame_list; break;
- case RANKTYPE_TAEKWON: list = taekwon_fame_list; break;
+ case RANKTYPE_BLACKSMITH: list = pc->smith_fame_list; break;
+ case RANKTYPE_ALCHEMIST: list = pc->chemist_fame_list; break;
+ case RANKTYPE_TAEKWON: list = pc->taekwon_fame_list; break;
default: return; // Unsupported
}
@@ -14208,7 +14208,7 @@ void clif_parse_FeelSaveOk(int fd,struct map_session_data *sd)
sd->feel_map[i].index = map_id2index(sd->bl.m);
sd->feel_map[i].m = sd->bl.m;
- pc_setglobalreg(sd,sg_info[i].feel_var,sd->feel_map[i].index);
+ pc_setglobalreg(sd,pc->sg_info[i].feel_var,sd->feel_map[i].index);
//Are these really needed? Shouldn't they show up automatically from the feel save packet?
// clif_misceffect2(&sd->bl, 0x1b0);