diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-01 21:09:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-01 21:09:57 +0300 |
commit | f16af47bd98f865193fcea1bbd9507904e2b20af (patch) | |
tree | 3a01a3a794b24114426bb5dd80b5d03136548770 /src/actions/windows.cpp | |
parent | d9be3eb4cf0ebbe29ef93759a3d168ebe9e592c1 (diff) | |
download | manaplus-f16af47bd98f865193fcea1bbd9507904e2b20af.tar.gz manaplus-f16af47bd98f865193fcea1bbd9507904e2b20af.tar.bz2 manaplus-f16af47bd98f865193fcea1bbd9507904e2b20af.tar.xz manaplus-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.cpp | 3 |
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()) { |