summaryrefslogtreecommitdiff
path: root/src/net/serverinfo.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-01-24 14:41:18 -0700
committerJared Adams <jaxad0127@gmail.com>2010-01-24 14:41:18 -0700
commit889108ea9a75a0591cac7efb49bac65629b6fb86 (patch)
tree9350c4d10df554c15d1135acc8b4738b531f1018 /src/net/serverinfo.h
parentbee1477e6f7c029c94c1c0e119e4529d3a55ecda (diff)
downloadmana-889108ea9a75a0591cac7efb49bac65629b6fb86.tar.gz
mana-889108ea9a75a0591cac7efb49bac65629b6fb86.tar.bz2
mana-889108ea9a75a0591cac7efb49bac65629b6fb86.tar.xz
mana-889108ea9a75a0591cac7efb49bac65629b6fb86.zip
Better handle server types
Now they are stored in the config file instead of defaulting to current build type.
Diffstat (limited to 'src/net/serverinfo.h')
-rw-r--r--src/net/serverinfo.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h
index 335a2115..ec8cc655 100644
--- a/src/net/serverinfo.h
+++ b/src/net/serverinfo.h
@@ -74,15 +74,6 @@ public:
return (type != other.type || hostname != other.hostname ||
port != other.port);
}
-
- Type static getCurrentType()
- {
-#ifdef MANASERV_SUPPORT
- return MANASERV;
-#else
- return EATHENA;
-#endif
- }
};
typedef std::vector<ServerInfo> ServerInfos;