summaryrefslogtreecommitdiff
path: root/src/map/unit.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/unit.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/unit.c')
-rw-r--r--src/map/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 488a210bf..85d00515c 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -2375,7 +2375,7 @@ int unit_free(struct block_list *bl, clr_type clrtype) {
/* [Ind/Hercules] */
if( sd->sc_display_count ) {
for(i = 0; i < sd->sc_display_count; i++) {
- ers_free(pc_sc_display_ers, sd->sc_display[i]);
+ ers_free(pc->sc_display_ers, sd->sc_display[i]);
}
sd->sc_display_count = 0;
}