mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
parent
9e6d3a4453
commit
39dcf007d1
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user