浏览代码

Update MiscWidgets.cpp

George King 1 月之前
父节点
当前提交
247942a178
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      client/widgets/MiscWidgets.cpp

+ 2 - 2
client/widgets/MiscWidgets.cpp

@@ -279,9 +279,9 @@ void BuildArmyStacksUI(const InfoAboutArmy& army, const std::vector<Point>& slot
 		else
 		{
 			//if =0 - we have no information about stack size at all
-			if (slot.second.getCount())
+			if(slot.second.getCount())
 			{
-				if (settings["gameTweaks"]["numericCreaturesQuantities"].Bool())
+				if(settings["gameTweaks"]["numericCreaturesQuantities"].Bool())
 				{
 					subtitle = CCreature::getQuantityRangeStringForId((CCreature::CreatureQuantityId)slot.second.getCount());
 				}