summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-11 01:38:41 +0000
committerKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-11 01:38:41 +0000
commiteb9d9a5e40f78993ab6280df285b1a15a7f27abb (patch)
treee9431a807a8fdfa9252a12d5f0eac1a51c8f32d9 /src/map/pc.c
parent773729d995cc32f98e87f6996b210ff6a2cc8d96 (diff)
downloadhercules-eb9d9a5e40f78993ab6280df285b1a15a7f27abb.tar.gz
hercules-eb9d9a5e40f78993ab6280df285b1a15a7f27abb.tar.bz2
hercules-eb9d9a5e40f78993ab6280df285b1a15a7f27abb.tar.xz
hercules-eb9d9a5e40f78993ab6280df285b1a15a7f27abb.zip
More questlog code.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12556 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 3d7572326..32f102b6e 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -32,6 +32,7 @@
#include "status.h" // struct status_data
#include "vending.h" // vending_closevending()
#include "pc.h"
+#include "quest.h"
#ifndef TXT_ONLY // mail system [Valaris]
#include "mail.h"
@@ -372,6 +373,8 @@ int pc_makesavestatus(struct map_session_data *sd)
else
memcpy(&sd->status.last_point,&sd->status.save_point,sizeof(sd->status.last_point));
}
+
+ quest_make_savedata(sd);
return 0;
}
@@ -863,6 +866,9 @@ bool pc_authok(struct map_session_data *sd, int login_id2, time_t expiration_tim
clif_wis_message(sd->fd, wisp_server_name, tmpstr, strlen(tmpstr)+1);
}
+ //Get quest data out of char dat
+ quest_load_info(sd, st);
+
// Request all registries (auth is considered completed whence they arrive)
intif_request_registry(sd,7);
return true;