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