summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-19 23:04:14 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-19 23:09:35 +0300
commita1eb71c0ba7395301e48b8bc1ce12340e9630489 (patch)
tree7f6011d4bd32bb7b1a7a9e795f567fc6abd8ac53 /src/resources
parent72dfb51de2bb766d291d2d3134e3f34b679281c7 (diff)
downloadmanaverse-a1eb71c0ba7395301e48b8bc1ce12340e9630489.tar.gz
manaverse-a1eb71c0ba7395301e48b8bc1ce12340e9630489.tar.bz2
manaverse-a1eb71c0ba7395301e48b8bc1ce12340e9630489.tar.xz
manaverse-a1eb71c0ba7395301e48b8bc1ce12340e9630489.zip
Prevent excluding servercommands.inc
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/db/groupdb.cpp1
-rw-r--r--src/resources/servercommands.inc2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/db/groupdb.cpp b/src/resources/db/groupdb.cpp
index b2e1ca011..fc61033cc 100644
--- a/src/resources/db/groupdb.cpp
+++ b/src/resources/db/groupdb.cpp
@@ -73,6 +73,7 @@ static ServerCommandTypeT parseCommand(const std::string &str,
return ServerCommandType::Max;
}
+SERVERCOMMANDS_VOID
#undef servercommandFirst
#undef servercommand
#undef servercommand2
diff --git a/src/resources/servercommands.inc b/src/resources/servercommands.inc
index a8c9efa5b..0089934e5 100644
--- a/src/resources/servercommands.inc
+++ b/src/resources/servercommands.inc
@@ -18,6 +18,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#define SERVERCOMMANDS_VOID
+
// Hercules commands
servercommandFirst(warp)
servercommand(where)