summaryrefslogtreecommitdiff
path: root/src/actions
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
parentd9be3eb4cf0ebbe29ef93759a3d168ebe9e592c1 (diff)
downloadplus-f16af47bd98f865193fcea1bbd9507904e2b20af.tar.gz
plus-f16af47bd98f865193fcea1bbd9507904e2b20af.tar.bz2
plus-f16af47bd98f865193fcea1bbd9507904e2b20af.tar.xz
plus-f16af47bd98f865193fcea1bbd9507904e2b20af.zip
Remove ServerFeatures haveCart because it depend only on server type.
Diffstat (limited to 'src/actions')
-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())
{