summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-25 20:55:35 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-25 20:55:35 +0000
commit34b37179c0895f0b0acc4377bf2bfe5edfcff9ce (patch)
treed650d9bc108404fa0949d5ec2754d96cde31926b /src/map/chrif.c
parenta93b8b9c2537bd8359d647ae23e90d084d019535 (diff)
downloadhercules-34b37179c0895f0b0acc4377bf2bfe5edfcff9ce.tar.gz
hercules-34b37179c0895f0b0acc4377bf2bfe5edfcff9ce.tar.bz2
hercules-34b37179c0895f0b0acc4377bf2bfe5edfcff9ce.tar.xz
hercules-34b37179c0895f0b0acc4377bf2bfe5edfcff9ce.zip
Rewrote Quest Log system.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13959 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r--src/map/chrif.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index aba1accee..63aa5dac0 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -288,6 +288,8 @@ int chrif_save(struct map_session_data *sd, int flag)
merc_save(sd->hd);
if( sd->md && mercenary_get_lifetime(sd->md) > 0 )
mercenary_save(sd->md);
+ if( sd->num_quests )
+ quest_save(sd);
return 0;
}