浏览代码

Merge pull request #595 from dydzio0614/BattleConsoleButtons

Fix wrong battle console button image
Alexander Shishkin 6 年之前
父节点
当前提交
54bbf2abb3
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      client/battle/CBattleInterface.cpp

+ 2 - 1
client/battle/CBattleInterface.cpp

@@ -237,7 +237,8 @@ CBattleInterface::CBattleInterface(const CCreatureSet *army1, const CCreatureSet
 	bDefence->assignedKeys.insert(SDLK_SPACE);
 	bConsoleUp = std::make_shared<CButton>(Point(624, 561), "ComSlide.def", std::make_pair("", ""), std::bind(&CBattleInterface::bConsoleUpf,this), SDLK_UP);
 	bConsoleDown = std::make_shared<CButton>(Point(624, 580), "ComSlide.def", std::make_pair("", ""), std::bind(&CBattleInterface::bConsoleDownf,this), SDLK_DOWN);
-	bConsoleDown->setImageOrder(2, 3, 4, 5);
+	bConsoleUp->setImageOrder(0, 1, 0, 0);
+	bConsoleDown->setImageOrder(2, 3, 2, 2);
 
 	console = std::make_shared<CBattleConsole>();
 	console->pos.x += 211;