diff options
author | Kevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-11 02:42:30 +0000 |
---|---|---|
committer | Kevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-11 02:42:30 +0000 |
commit | c6670cae6548eb6792b13f00ea6d8299c2c825fc (patch) | |
tree | c178609a56b7ba7612478cef6f8ad327494508e2 /src/map | |
parent | eb9d9a5e40f78993ab6280df285b1a15a7f27abb (diff) | |
download | hercules-c6670cae6548eb6792b13f00ea6d8299c2c825fc.tar.gz hercules-c6670cae6548eb6792b13f00ea6d8299c2c825fc.tar.bz2 hercules-c6670cae6548eb6792b13f00ea6d8299c2c825fc.tar.xz hercules-c6670cae6548eb6792b13f00ea6d8299c2c825fc.zip |
Some quest log changes and removed one of the set char offline calls that was added in revision 12552.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12557 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/chrif.c | 1 | ||||
-rw-r--r-- | src/map/quest.c | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c index cc75359ef..18c648627 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -164,7 +164,6 @@ static bool chrif_auth_logout(TBL_PC* sd, enum sd_state state) if(sd->fd && state == ST_LOGOUT) { //Disassociate player, and free it after saving ack returns. [Skotlex] //fd info must not be lost for ST_MAPCHANGE as a final packet needs to be sent to the player. - chrif_char_offline(sd); if (session[sd->fd]) session[sd->fd]->session_data = NULL; sd->fd = 0; diff --git a/src/map/quest.c b/src/map/quest.c index 499d78d6c..f01ff4526 100644 --- a/src/map/quest.c +++ b/src/map/quest.c @@ -35,6 +35,10 @@ //Send quest info on login
int quest_pc_login(TBL_PC * sd)
{
+
+ if(sd->num_quests == 0)
+ return 1;
+
clif_send_questlog(sd);
clif_send_questlog_info(sd);
return 0;
|