1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00
This commit is contained in:
mateuszb 2010-03-01 18:45:18 +00:00
parent 9e6d3a4453
commit 39dcf007d1
2 changed files with 3 additions and 3 deletions

View File

@ -1610,7 +1610,7 @@ void CAdvMapInt::fshowSpellbok()
return;
CSpellWindow * spellWindow = new CSpellWindow(genRect(595, 620, (conf.cc.resx - 620)/2, (conf.cc.resy - 595)/2), (static_cast<const CGHeroInstance*>(adventureInt->selection)), false);
CSpellWindow * spellWindow = new CSpellWindow(genRect(595, 620, (conf.cc.resx - 620)/2, (conf.cc.resy - 595)/2), (static_cast<const CGHeroInstance*>(adventureInt->selection)), LOCPLINT, false);
GH.pushInt(spellWindow);
}

View File

@ -4763,8 +4763,8 @@ CPuzzleWindow::CPuzzleWindow(const int3 &grailPos, float discoveredRatio)
//printing X sign
{
int x = 32*moveInt.x + 8,
y = 32*moveInt.y + 8;
int x = 32*moveInt.x - 16,
y = 32*moveInt.y + 1;
if (x<0 || y<0 || x>pos.w || y>pos.h)
{
}