diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-01 17:05:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-01 17:05:46 +0300 |
commit | d66f863a4d2b31839b280af4146e9bad09835e23 (patch) | |
tree | 64bb0e4f794fc9a11e2dcba15e7853b386ac78e0 /src/map/script.c | |
parent | 856f57d7fb05806cd676112a389ecf8be5ecf54e (diff) | |
download | plugin-d66f863a4d2b31839b280af4146e9bad09835e23.tar.gz plugin-d66f863a4d2b31839b280af4146e9bad09835e23.tar.bz2 plugin-d66f863a4d2b31839b280af4146e9bad09835e23.tar.xz plugin-d66f863a4d2b31839b280af4146e9bad09835e23.zip |
Fix possible wrong checks.
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c index fd54d5b..fe014dd 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -456,7 +456,7 @@ BUILDIN(getq) getSDReturn(0); int quest_id = script_getnum(st, 2); - if (!quest->check(sd, quest_id, HAVEQUEST) < 0) + if (quest->check(sd, quest_id, HAVEQUEST) < 0) { script_pushint(st, 0); return true; |