From 9f3181501f0d95ffcc37bcb6a816c36362d1b164 Mon Sep 17 00:00:00 2001 From: zephyrus Date: Wed, 12 Mar 2008 21:49:42 +0000 Subject: - Fixed bug report 1170. - Now char data is saved to on a success mail send or auction register operation. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12351 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/clif.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/map/clif.c') diff --git a/src/map/clif.c b/src/map/clif.c index 437da3241..af4668cad 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -7978,6 +7978,7 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd) sd->state.night = 0; clif_status_load(&sd->bl, SI_NIGHT, 0); } + sd->state.changemap = false; } sd->state.using_fake_npc = 0; @@ -11681,7 +11682,7 @@ void clif_parse_Mail_send(int fd, struct map_session_data *sd) if( DIFF_TICK(sd->cansendmail_tick, gettick()) > 0 ) { clif_displaymessage(sd->fd,"Cannot send mails too fast!!."); - clif_Mail_send(fd, 1); // fail + clif_Mail_send(fd, true); // fail return; } @@ -11692,7 +11693,7 @@ void clif_parse_Mail_send(int fd, struct map_session_data *sd) if( !mail_setattachment(sd, &msg) ) { // Invalid Append condition - clif_Mail_send(sd->fd, 1); // fail + clif_Mail_send(sd->fd, true); // fail mail_removeitem(sd,0); mail_removezeny(sd,0); return; -- cgit v1.2.3-70-g09d2