From 62e6b7335c9bf0b30d5ca392c0c5dedbe2768dc9 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sat, 28 Sep 2013 17:55:34 -0300 Subject: HPM: pc.c Completed Moved missing vars and declarations of interest into the interface. Signed-off-by: shennetsind --- src/map/status.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/status.c') 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 */ -- cgit v1.2.3-60-g2f50