summaryrefslogtreecommitdiff
path: root/src/game.cpp
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/game.cpp
parent4f6d9da4e83a23a4531ce63006f669daf4992c69 (diff)
downloadplus-a06b27bdd35ee48a1e26aa3be53af6d1063a5d4c.tar.gz
plus-a06b27bdd35ee48a1e26aa3be53af6d1063a5d4c.tar.bz2
plus-a06b27bdd35ee48a1e26aa3be53af6d1063a5d4c.tar.xz
plus-a06b27bdd35ee48a1e26aa3be53af6d1063a5d4c.zip
Dont add auto skill tab in legacy servers.
Diffstat (limited to 'src/game.cpp')
-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);