diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-02 02:53:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-02 02:53:29 +0300 |
commit | 8736063af755af42cdbaa2cbb5453bc3e3f7b950 (patch) | |
tree | e4c8982367b1c7b5c4e7125d41201361fad907e0 /src | |
parent | f0839fef06dd7bd38293030f2a1804de8935de5c (diff) | |
download | manaverse-8736063af755af42cdbaa2cbb5453bc3e3f7b950.tar.gz manaverse-8736063af755af42cdbaa2cbb5453bc3e3f7b950.tar.bz2 manaverse-8736063af755af42cdbaa2cbb5453bc3e3f7b950.tar.xz manaverse-8736063af755af42cdbaa2cbb5453bc3e3f7b950.zip |
Fix compilation error without tmwa.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/windows/whoisonline.cpp | 4 | ||||
-rw-r--r-- | src/gui/windows/whoisonline.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp index 119b31664..18e18a101 100644 --- a/src/gui/windows/whoisonline.cpp +++ b/src/gui/windows/whoisonline.cpp @@ -119,10 +119,10 @@ WhoIsOnline::WhoIsOnline() : mShowLevel(false), mUpdateOnlineList(config.getBoolValue("updateOnlineList")), mGroupFriends(true), - mServerSideList(serverFeatures->haveServerOnlineList()), #ifdef TMWA_SUPPORT - mWebList(Net::getNetworkType() == ServerType::TMWATHENA) + mWebList(Net::getNetworkType() == ServerType::TMWATHENA), #endif + mServerSideList(serverFeatures->haveServerOnlineList()) { mCurlError[0] = 0; setWindowName("WhoIsOnline"); diff --git a/src/gui/windows/whoisonline.h b/src/gui/windows/whoisonline.h index 4ba71b49f..5f29971c6 100644 --- a/src/gui/windows/whoisonline.h +++ b/src/gui/windows/whoisonline.h @@ -171,10 +171,10 @@ class WhoIsOnline final : public Window, bool mShowLevel; bool mUpdateOnlineList; bool mGroupFriends; - bool mServerSideList; #ifdef TMWA_SUPPORT bool mWebList; #endif + bool mServerSideList; }; extern WhoIsOnline *whoIsOnline; |