summaryrefslogtreecommitdiff
path: root/src/actions/windows.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-01 21:09:57 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-01 21:09:57 +0300
commitf16af47bd98f865193fcea1bbd9507904e2b20af (patch)
tree3a01a3a794b24114426bb5dd80b5d03136548770 /src/actions/windows.cpp
parentd9be3eb4cf0ebbe29ef93759a3d168ebe9e592c1 (diff)
downloadmanaverse-f16af47bd98f865193fcea1bbd9507904e2b20af.tar.gz
manaverse-f16af47bd98f865193fcea1bbd9507904e2b20af.tar.bz2
manaverse-f16af47bd98f865193fcea1bbd9507904e2b20af.tar.xz
manaverse-f16af47bd98f865193fcea1bbd9507904e2b20af.zip
Remove ServerFeatures haveCart because it depend only on server type.
Diffstat (limited to 'src/actions/windows.cpp')
-rw-r--r--src/actions/windows.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/actions/windows.cpp b/src/actions/windows.cpp
index c135ab541..2271e12f8 100644
--- a/src/actions/windows.cpp
+++ b/src/actions/windows.cpp
@@ -278,8 +278,7 @@ impHandler0(bankWindowShow)
impHandler0(cartWindowShow)
{
- if (!serverFeatures ||
- !serverFeatures->haveCart() ||
+ if (Net::getNetworkType() == ServerType::TMWATHENA ||
!localPlayer ||
!localPlayer->getHaveCart())
{