summaryrefslogtreecommitdiff
path: root/src/map/mail.c
diff options
context:
space:
mode:
authorParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-10-09 01:57:04 +0000
committerParadox924X <Paradox924X@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-10-09 01:57:04 +0000
commit46afaed6555abf5cfdb979e7b1e0b3a619ee36ae (patch)
tree825b8e97cad9ee3c416d327c1e5f54b1ba1204d3 /src/map/mail.c
parent5ab81c08011abb8af9a1001e7835c72c6de96142 (diff)
downloadhercules-46afaed6555abf5cfdb979e7b1e0b3a619ee36ae.tar.gz
hercules-46afaed6555abf5cfdb979e7b1e0b3a619ee36ae.tar.bz2
hercules-46afaed6555abf5cfdb979e7b1e0b3a619ee36ae.tar.xz
hercules-46afaed6555abf5cfdb979e7b1e0b3a619ee36ae.zip
Replaced all nullpo_retr() calls which returned 0 with nullpo_ret() calls.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14414 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mail.c')
-rw-r--r--src/map/mail.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/mail.c b/src/map/mail.c
index afef81fe6..c79381c66 100644
--- a/src/map/mail.c
+++ b/src/map/mail.c
@@ -29,7 +29,7 @@ void mail_clear(struct map_session_data *sd)
int mail_removeitem(struct map_session_data *sd, short flag)
{
- nullpo_retr(0,sd);
+ nullpo_ret(sd);
if( sd->mail.amount )
{
@@ -52,7 +52,7 @@ int mail_removeitem(struct map_session_data *sd, short flag)
int mail_removezeny(struct map_session_data *sd, short flag)
{
- nullpo_retr(0,sd);
+ nullpo_ret(sd);
if (flag && sd->mail.zeny > 0)
{ //Zeny send
@@ -160,7 +160,7 @@ void mail_getattachment(struct map_session_data* sd, int zeny, struct item* item
int mail_openmail(struct map_session_data *sd)
{
- nullpo_retr(0,sd);
+ nullpo_ret(sd);
if( sd->state.storage_flag || sd->vender_id || sd->state.trading )
return 0;