From 90faf3fbdc03f191db9a898932aaa7b9e8f77b9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20W=2E=20Urba=C5=84czyk?= Date: Wed, 21 Jul 2010 10:20:32 +0000 Subject: [PATCH] Little missing piece - opening on adv maps spells from hero / exchange / kingdom windows. Minor fix. --- client/GUIClasses.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/GUIClasses.cpp b/client/GUIClasses.cpp index 688eda68b..c02d27de2 100644 --- a/client/GUIClasses.cpp +++ b/client/GUIClasses.cpp @@ -4364,7 +4364,7 @@ void CArtPlace::clickLeft(tribool down, bool previousState) { if(ourArt->id == 0) { - CSpellWindow * spellWindow = new CSpellWindow(genRect(595, 620, (conf.cc.resx - 620)/2, (conf.cc.resy - 595)/2), ourOwner->curHero, LOCPLINT); + CSpellWindow * spellWindow = new CSpellWindow(genRect(595, 620, (conf.cc.resx - 620)/2, (conf.cc.resy - 595)/2), ourOwner->curHero, LOCPLINT, LOCPLINT->battleInt); GH.pushInt(spellWindow); } }