Browse Source

Amount box support for stacked war machines

Dydzio 8 years ago
parent
commit
2d6f964d65
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/battle/CBattleInterface.cpp

+ 1 - 1
client/battle/CBattleInterface.cpp

@@ -3275,7 +3275,7 @@ void CBattleInterface::showAliveStacks(SDL_Surface *to, std::vector<const CStack
 {
 	auto isAmountBoxVisible = [&](const CStack *stack) -> bool
 	{
-		if(stack->hasBonusOfType(Bonus::SIEGE_WEAPON)) // siege weapons are always singular
+		if(stack->hasBonusOfType(Bonus::SIEGE_WEAPON) && stack->count == 1) //do not show box for singular war machines, stacked war machines with box shown are supported as extension feature
 			return false;
 
 		if(stack->count == 0) //hide box when target is going to die anyway - do not display "0 creatures"