summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-12-02 11:04:01 +0100
committerHaru <haru@dotalux.com>2014-12-02 11:04:01 +0100
commit274aaebe2bad43a8196e3ff39ede344da8ce4d64 (patch)
treea373b85af062d8a83c5e195574755d21cd271e01 /src/map
parent14700f7e00e5593279599907f6cdf11fde1b67cd (diff)
downloadhercules-274aaebe2bad43a8196e3ff39ede344da8ce4d64.tar.gz
hercules-274aaebe2bad43a8196e3ff39ede344da8ce4d64.tar.bz2
hercules-274aaebe2bad43a8196e3ff39ede344da8ce4d64.tar.xz
hercules-274aaebe2bad43a8196e3ff39ede344da8ce4d64.zip
Removed checkquest command
- Follow-up to 3ad4a9d Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map')
-rw-r--r--src/map/script.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 93c9865e5..6037c61fa 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -16430,23 +16430,6 @@ BUILDIN(changequest) {
return true;
}
-// Deprecated
-// Please use questprogress instead.
-BUILDIN(checkquest) {
- struct map_session_data *sd = script->rid2sd(st);
- enum quest_check_type type = HAVEQUEST;
-
- if( sd == NULL )
- return false;
-
- if( script_hasdata(st, 3) )
- type = (enum quest_check_type)script_getnum(st, 3);
-
- script_pushint(st, quest->check(sd, script_getnum(st, 2), type));
-
- return true;
-}
-
BUILDIN(questactive) {
struct map_session_data *sd = script->rid2sd(st);
int quest_progress = 0;
@@ -19433,7 +19416,6 @@ void script_parse_builtin(void) {
BUILDIN_DEF(setquest, "i"),
BUILDIN_DEF(erasequest, "i?"),
BUILDIN_DEF(completequest, "i?"),
- BUILDIN_DEF_DEPRECATED(checkquest, "i?"), // Deprecated 2014-10-28 [Haru]
BUILDIN_DEF(questprogress, "i?"),
BUILDIN_DEF(questactive, "i"),
BUILDIN_DEF(changequest, "ii"),