summaryrefslogtreecommitdiff
path: root/src/net/eathena/serverfeatures.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-05 20:15:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:57 +0300
commit8dcda5453e7fec40b1f55a66bf5f60f1b8dbd833 (patch)
tree512768b20e67c351daca72aad113f2b50dc94a2d /src/net/eathena/serverfeatures.cpp
parent223641a3057a5abf0113440601e3b6330287d68b (diff)
downloadmv-8dcda5453e7fec40b1f55a66bf5f60f1b8dbd833.tar.gz
mv-8dcda5453e7fec40b1f55a66bf5f60f1b8dbd833.tar.bz2
mv-8dcda5453e7fec40b1f55a66bf5f60f1b8dbd833.tar.xz
mv-8dcda5453e7fec40b1f55a66bf5f60f1b8dbd833.zip
Fix server features initialisation.
Diffstat (limited to 'src/net/eathena/serverfeatures.cpp')
-rw-r--r--src/net/eathena/serverfeatures.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp
index 3b11842e6..cb0b730e4 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -22,9 +22,16 @@
#include "debug.h"
+extern Net::ServerFeatures *serverFeatures;
+
namespace EAthena
{
+ServerFeatures::ServerFeatures()
+{
+ serverFeatures = this;
+}
+
bool ServerFeatures::haveOnlineList() const
{
return false;