summaryrefslogtreecommitdiff
path: root/src/char/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/main.cpp')
-rw-r--r--src/char/main.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/char/main.cpp b/src/char/main.cpp
index 6636196..3648a74 100644
--- a/src/char/main.cpp
+++ b/src/char/main.cpp
@@ -1,6 +1,6 @@
-// char/main.cpp - dummy file to make Make dependencies work
+// char/main.cpp - entry point to tmwa-char server
//
-// 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 "char.hpp"
#include "../poison.hpp"
@@ -25,3 +27,8 @@
namespace tmwa
{
} // namespace tmwa
+
+int main(int argc, char **argv)
+{
+ return tmwa_main(argc, argv);
+}