From f16af47bd98f865193fcea1bbd9507904e2b20af Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 1 May 2017 21:09:57 +0300 Subject: Remove ServerFeatures haveCart because it depend only on server type. --- src/actions/windows.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/actions') 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()) { -- cgit v1.2.3-70-g09d2