summaryrefslogtreecommitdiff
path: root/src/net/tmwa/serverfeatures.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/serverfeatures.cpp')
-rw-r--r--src/net/tmwa/serverfeatures.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index d2aba176b..416183e3f 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -20,13 +20,21 @@
#include "net/tmwa/serverfeatures.h"
+#include "net/net.h"
+
#include "debug.h"
extern int serverVersion;
+extern Net::ServerFeatures *serverFeatures;
namespace TmwAthena
{
+ServerFeatures::ServerFeatures()
+{
+ serverFeatures = this;
+}
+
bool ServerFeatures::haveOnlineList() const
{
return serverVersion >= 3;