summaryrefslogtreecommitdiff
path: root/src/admin/main.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-08-13 14:55:49 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-08-27 11:29:45 -0700
commit9951ad78c80e144c166a7d476cad7ffdf84332a9 (patch)
tree9f5498a9a3c23b62dc928288e72081e99f958f46 /src/admin/main.cpp
parent749fec734c4583153fb2dbc80f1d21db2c2ab457 (diff)
downloadtmwa-9951ad78c80e144c166a7d476cad7ffdf84332a9.tar.gz
tmwa-9951ad78c80e144c166a7d476cad7ffdf84332a9.tar.bz2
tmwa-9951ad78c80e144c166a7d476cad7ffdf84332a9.tar.xz
tmwa-9951ad78c80e144c166a7d476cad7ffdf84332a9.zip
Debug debugging
Diffstat (limited to 'src/admin/main.cpp')
-rw-r--r--src/admin/main.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/admin/main.cpp b/src/admin/main.cpp
index 678286e..1849d80 100644
--- a/src/admin/main.cpp
+++ b/src/admin/main.cpp
@@ -1,6 +1,6 @@
-// admin/main.cpp - dummy file to make Make dependencies work
+// admin/main.cpp - entry point to tmwa-admin tool
//
-// Copyright © 2013 Ben Longbons <b.r.longbons@gmail.com>
+// Copyright © 2013-2014 Ben Longbons <b.r.longbons@gmail.com>
//
// This file is part of The Mana World (Athena server)
//
@@ -17,6 +17,8 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
+#include "../mmo/core.hpp"
+
#include "ladmin.hpp"
#include "../poison.hpp"
@@ -25,3 +27,8 @@
namespace tmwa
{
} // namespace tmwa
+
+int main(int argc, char **argv)
+{
+ return tmwa_main(argc, argv);
+}