mateuszb 15 年之前
父节点
当前提交
39dcf007d1
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      client/CAdvmapInterface.cpp
  2. 2 2
      client/GUIClasses.cpp

+ 1 - 1
client/CAdvmapInterface.cpp

@@ -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);
 }
 }
 
 

+ 2 - 2
client/GUIClasses.cpp

@@ -4763,8 +4763,8 @@ CPuzzleWindow::CPuzzleWindow(const int3 &grailPos, float discoveredRatio)
 
 
 	//printing X sign
 	//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)
 		if (x<0 || y<0 || x>pos.w || y>pos.h)
 		{
 		{
 		}
 		}