summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorMatheus Macabu <mkbu95@gmail.com>2013-06-15 03:42:23 -0300
committerEuphy <euphy@rathena.org>2013-06-15 15:58:34 -0400
commitf46f552f954a45387bffd6d7f672fb58100c9593 (patch)
tree2efc592e1524b1ed7a65695c4118643cd57dd7b7 /src/map/atcommand.c
parentfa0c8cda0b2f68fa742572409c8f77e65d5d0011 (diff)
downloadhercules-f46f552f954a45387bffd6d7f672fb58100c9593.tar.gz
hercules-f46f552f954a45387bffd6d7f672fb58100c9593.tar.bz2
hercules-f46f552f954a45387bffd6d7f672fb58100c9593.tar.xz
hercules-f46f552f954a45387bffd6d7f672fb58100c9593.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;
}