summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-17 13:20:07 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-17 13:20:07 +0000
commit1951e157c6077b8b6ab8300f9475686751e648b8 (patch)
treef53ef0044c63fe9e5719ad696fadc59c99def0cc /src/map/atcommand.c
parent93f035c26d6447e919f46a3c19a2276a63332d56 (diff)
downloadhercules-1951e157c6077b8b6ab8300f9475686751e648b8.tar.gz
hercules-1951e157c6077b8b6ab8300f9475686751e648b8.tar.bz2
hercules-1951e157c6077b8b6ab8300f9475686751e648b8.tar.xz
hercules-1951e157c6077b8b6ab8300f9475686751e648b8.zip
Added @reloadquestdb as per Script / DB Developer Joseph request.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16651 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index e9c31495f..58204b491 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -42,6 +42,7 @@
#include "trade.h"
#include "unit.h"
#include "mapreg.h"
+#include "quest.h"
#include <stdio.h>
#include <stdlib.h>
@@ -8774,7 +8775,11 @@ ACMD_FUNC(set) {
return 0;
}
-
+ACMD_FUNC(reloadquestdb) {
+ do_reload_quest();
+ clif_displaymessage(fd, "Quest DB has been reloaded");
+ return 0;
+}
/**
* Fills the reference of available commands in atcommand DBMap
**/
@@ -9020,6 +9025,7 @@ void atcommand_basecommands(void) {
ACMD_DEF(font),
ACMD_DEF(accinfo),
ACMD_DEF(set),
+ ACMD_DEF(reloadquestdb),
ACMD_DEF(undisguiseguild),
ACMD_DEF(disguiseguild),
ACMD_DEF(sizeall),