From 8f664b75f4757ff0c0d1d20ae2d2ba892c1ad7c0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 29 Jul 2012 18:47:15 +0300 Subject: Add quests window to on screen buttons. Dont create quests window if using old servers. --- src/game.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/game.cpp') 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); -- cgit v1.2.3-60-g2f50