diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-09-07 03:03:30 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-09-07 03:03:30 -0300 |
commit | 6ee06fdebc63a87a427b751727c777863b76e0a1 (patch) | |
tree | 8f322be8015796823b40d0aa9b2dec71b8a69fd7 /src/emap/mail.c | |
parent | a93d1ecbc5995fd5431b69f8d3c368665c5196ef (diff) | |
download | evol-hercules-6ee06fdebc63a87a427b751727c777863b76e0a1.tar.gz evol-hercules-6ee06fdebc63a87a427b751727c777863b76e0a1.tar.bz2 evol-hercules-6ee06fdebc63a87a427b751727c777863b76e0a1.tar.xz evol-hercules-6ee06fdebc63a87a427b751727c777863b76e0a1.zip |
Mount Bonus is now handled exclusively by item script.
ASPD penalty still handled by C code.
Also, always report invalid operations on mailman.
May help in fiding out if mailman ends up stealing players.
(And futurely, in preventing that as well if it wasn't their fault)
Diffstat (limited to 'src/emap/mail.c')
-rw-r--r-- | src/emap/mail.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/emap/mail.c b/src/emap/mail.c index 5d9e37c..afd8c64 100644 --- a/src/emap/mail.c +++ b/src/emap/mail.c @@ -30,12 +30,15 @@ bool email_invalid_operation_pre(struct map_session_data **sdPtr) return true; } - if (!map->list[sd->bl.m].flag.town) + // [TMW2] Always report, no exceptions + //if (!map->list[sd->bl.m].flag.town) { ShowWarning("clif->parse_Mail: char '%s' trying to do invalid mail operations.\n", sd->status.name); hookStop(); return true; } + + // FIXME: Thief mailman? hookStop(); return false; } |