diff options
author | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-07-26 09:52:08 +0000 |
---|---|---|
committer | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-07-26 09:52:08 +0000 |
commit | 53ba0c7362dffa576c58f7dc2decbeab0269d67b (patch) | |
tree | 4c5848b6868fc5c3427d8f4f168e4383f20a6897 /src/map/script.c | |
parent | e9a090774cb956ebb122698374be2a5360dd8b00 (diff) | |
download | hercules-53ba0c7362dffa576c58f7dc2decbeab0269d67b.tar.gz hercules-53ba0c7362dffa576c58f7dc2decbeab0269d67b.tar.bz2 hercules-53ba0c7362dffa576c58f7dc2decbeab0269d67b.tar.xz hercules-53ba0c7362dffa576c58f7dc2decbeab0269d67b.zip |
Fixed mob counts and quest states are not saved properly sometimes
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13964 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c index fd1fa5b0e..a2a60c13d 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -13447,6 +13447,7 @@ BUILDIN_FUNC(completequest) TBL_PC * sd = script_rid2sd(st); quest_update_status(sd, script_getnum(st, 2), Q_COMPLETE); + intif_quest_save(sd->status.char_id, &sd->quest_log[sd->avail_quests]); return 0; } |