1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Little missing piece - opening on adv maps spells from hero / exchange / kingdom windows. Minor fix.

This commit is contained in:
Michał W. Urbańczyk
2010-07-21 10:20:32 +00:00
parent 931949e349
commit 90faf3fbdc

View File

@@ -4364,7 +4364,7 @@ void CArtPlace::clickLeft(tribool down, bool previousState)
{ {
if(ourArt->id == 0) 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); GH.pushInt(spellWindow);
} }
} }