mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-03 13:01:33 +02:00
parent
9e6d3a4453
commit
39dcf007d1
@ -1610,7 +1610,7 @@ void CAdvMapInt::fshowSpellbok()
|
|||||||
return;
|
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);
|
GH.pushInt(spellWindow);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4763,8 +4763,8 @@ CPuzzleWindow::CPuzzleWindow(const int3 &grailPos, float discoveredRatio)
|
|||||||
|
|
||||||
//printing X sign
|
//printing X sign
|
||||||
{
|
{
|
||||||
int x = 32*moveInt.x + 8,
|
int x = 32*moveInt.x - 16,
|
||||||
y = 32*moveInt.y + 8;
|
y = 32*moveInt.y + 1;
|
||||||
if (x<0 || y<0 || x>pos.w || y>pos.h)
|
if (x<0 || y<0 || x>pos.w || y>pos.h)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user