summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-29 18:47:15 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-29 18:47:15 +0300
commit8f664b75f4757ff0c0d1d20ae2d2ba892c1ad7c0 (patch)
tree3a36f210c6c814764cac4a273530e5cbc4e3c5be /src/game.cpp
parenta57d736348be038bcc1371b05dbc89459f87d045 (diff)
downloadmv-8f664b75f4757ff0c0d1d20ae2d2ba892c1ad7c0.tar.gz
mv-8f664b75f4757ff0c0d1d20ae2d2ba892c1ad7c0.tar.bz2
mv-8f664b75f4757ff0c0d1d20ae2d2ba892c1ad7c0.tar.xz
mv-8f664b75f4757ff0c0d1d20ae2d2ba892c1ad7c0.zip
Add quests window to on screen buttons.
Dont create quests window if using old servers.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index c7da8bea4..3081cf089 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -252,7 +252,8 @@ static void createGuiWindows()
whoIsOnline = new WhoIsOnline;
killStats = new KillStats;
socialWindow = new SocialWindow;
- questsWindow = new QuestsWindow;
+ if (serverVersion >= 6)
+ questsWindow = new QuestsWindow;
localChatTab = new ChatTab(_("General"));
localChatTab->setAllowHighlight(false);