Integer literals should not be cast to bool
@@ -307,7 +307,7 @@ BattleAction BattleEvaluator::goTowardsNearest(const CStack * stack, std::vector
else
{
BattleHex currentDest = bestNeighbor;
- while(1)
+ while(true)
if(!currentDest.isValid())