summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorMatheus Macabu <mkbu95@gmail.com>2013-06-15 03:42:23 -0300
committerMatheus Macabu <mkbu95@gmail.com>2013-06-15 03:42:23 -0300
commitde3f4423058405636c76e05cd87a6eae0bfa7707 (patch)
tree3f296f3651a670a9cec07c3ef2c57fce30b5ca67 /src/map/atcommand.c
parentb745cb176a16e771bf5bbae43a7445cf160d1342 (diff)
downloadhercules-de3f4423058405636c76e05cd87a6eae0bfa7707.tar.gz
hercules-de3f4423058405636c76e05cd87a6eae0bfa7707.tar.bz2
hercules-de3f4423058405636c76e05cd87a6eae0bfa7707.tar.xz
hercules-de3f4423058405636c76e05cd87a6eae0bfa7707.zip
Forgot to change something.
Also added mail interface for HPM. Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 6cda0ad84..b6a9e42ee 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -3729,7 +3729,7 @@ ACMD(reloadscript)
for( pl_sd = (TBL_PC*)mapit->first(iter); mapit->exists(iter); pl_sd = (TBL_PC*)mapit->next(iter) ) {
if (pl_sd->npc_id || pl_sd->npc_shopid) {
if (pl_sd->state.using_fake_npc) {
- clif->clearunit_single(sd->npc_id, CLR_OUTSIGHT, sd->fd);
+ clif->clearunit_single(pl_sd->npc_id, CLR_OUTSIGHT, pl_sd->fd);
pl_sd->state.using_fake_npc = 0;
}
if (pl_sd->state.menu_or_input)
@@ -6624,7 +6624,7 @@ ACMD(misceffect) {
ACMD(mail)
{
nullpo_ret(sd);
- mail_openmail(sd);
+ mail->openmail(sd);
return true;
}