summaryrefslogtreecommitdiff
path: root/src/map/status.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/status.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/status.c')
-rw-r--r--src/map/status.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 0b69ae2ef..dbce2f7f4 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -6458,7 +6458,7 @@ void status_display_add(struct map_session_data *sd, enum sc_type type, int dval
return;
}
- entry = ers_alloc(pc_sc_display_ers, struct sc_display_entry);
+ entry = ers_alloc(pc->sc_display_ers, struct sc_display_entry);
entry->type = type;
entry->val1 = dval1;
@@ -6479,7 +6479,7 @@ void status_display_remove(struct map_session_data *sd, enum sc_type type) {
if( i != sd->sc_display_count ) {
int cursor;
- ers_free(pc_sc_display_ers, sd->sc_display[i]);
+ ers_free(pc->sc_display_ers, sd->sc_display[i]);
sd->sc_display[i] = NULL;
/* the all-mighty compact-o-matic */