diff options
author | Haru <haru@dotalux.com> | 2016-09-27 20:24:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-27 20:24:58 +0200 |
commit | 84ecefb4db23bbd98194a43a592cfe313477a1ab (patch) | |
tree | 6359bb8a2ad7bf2f3357077e1708e365f041b017 /src/char | |
parent | a2329f4f10a3ab2e70141766a16981e69e2a71ba (diff) | |
parent | bf34e9a19ec0afc5d4a9494e20015a65ba5a76c2 (diff) | |
download | hercules-84ecefb4db23bbd98194a43a592cfe313477a1ab.tar.gz hercules-84ecefb4db23bbd98194a43a592cfe313477a1ab.tar.bz2 hercules-84ecefb4db23bbd98194a43a592cfe313477a1ab.tar.xz hercules-84ecefb4db23bbd98194a43a592cfe313477a1ab.zip |
Merge pull request #1443 from 4144/smallfixes
Small fixes
Diffstat (limited to 'src/char')
-rw-r--r-- | src/char/int_quest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/int_quest.c b/src/char/int_quest.c index cf93db51e..7b3d746dd 100644 --- a/src/char/int_quest.c +++ b/src/char/int_quest.c @@ -182,7 +182,7 @@ bool mapif_quest_update(int char_id, struct quest qd) int i; StrBuf->Init(&buf); - StrBuf->Printf(&buf, "UPDATE `%s` SET `state`='%u'", quest_db, qd.state); + StrBuf->Printf(&buf, "UPDATE `%s` SET `state`='%u', `time`='%u'", quest_db, qd.state, qd.time); for (i = 0; i < MAX_QUEST_OBJECTIVES; i++) { StrBuf->Printf(&buf, ", `count%d`='%d'", i+1, qd.count[i]); } |