summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-03 02:05:08 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-03 02:05:08 +0300
commita06b27bdd35ee48a1e26aa3be53af6d1063a5d4c (patch)
tree5290272442c7bf1b42d00e2f4647bd71fdd7abcc /src
parent4f6d9da4e83a23a4531ce63006f669daf4992c69 (diff)
downloadmanaplus-a06b27bdd35ee48a1e26aa3be53af6d1063a5d4c.tar.gz
manaplus-a06b27bdd35ee48a1e26aa3be53af6d1063a5d4c.tar.bz2
manaplus-a06b27bdd35ee48a1e26aa3be53af6d1063a5d4c.tar.xz
manaplus-a06b27bdd35ee48a1e26aa3be53af6d1063a5d4c.zip
Dont add auto skill tab in legacy servers.
Diffstat (limited to 'src')
-rw-r--r--src/game.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp
index ac6df64c1..b9eeb12b7 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -236,8 +236,11 @@ static void createGuiWindows()
itemShortcutWindow->addTab(toString(f + 1),
new ItemShortcutContainer(nullptr, f));
}
- itemShortcutWindow->addTab("A",
- new ItemShortcutContainer(nullptr, SHORTCUT_TABS - 1));
+ if (Net::getNetworkType() != ServerType::TMWATHENA)
+ {
+ itemShortcutWindow->addTab("A",
+ new ItemShortcutContainer(nullptr, SHORTCUT_TABS - 1));
+ }
if (config.getBoolValue("showDidYouKnow"))
{
didYouKnowWindow->setVisible(Visible_true);