summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-25 23:18:53 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-25 23:18:53 +0000
commitf9c3a2a80b9981a3102661928f5c2469e47d360c (patch)
tree7ef877e22e1c170cccfafc3e897b14cf756be3ba /src/map/script.c
parent3222178785b9f2f6fe6ac41283cb47bf07ab44ad (diff)
downloadhercules-f9c3a2a80b9981a3102661928f5c2469e47d360c.tar.gz
hercules-f9c3a2a80b9981a3102661928f5c2469e47d360c.tar.bz2
hercules-f9c3a2a80b9981a3102661928f5c2469e47d360c.tar.xz
hercules-f9c3a2a80b9981a3102661928f5c2469e47d360c.zip
* Fixed message display for FullStrip and SelfProvoke. (bugreport: 3011, bugreport: 3415)
* Fixed an error on 'changequest' git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13962 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 1efd85c6c..fd1fa5b0e 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -13455,7 +13455,7 @@ BUILDIN_FUNC(changequest)
TBL_PC * sd = script_rid2sd(st);
int q1 = script_getnum(st, 2), q2 = script_getnum(st, 3);
- if( quest_check_quest(sd, q1, HAVEQUEST) == Q_ACTIVE && quest_add(sd, q2) >= 0 )
+ if( quest_check_quest(sd, q1, HAVEQUEST) == Q_ACTIVE && !quest_add(sd, q2) )
{
quest_update_status(sd, q1, Q_COMPLETE);
intif_quest_save(sd->status.char_id, &sd->quest_log[sd->avail_quests]);