2
0
Эх сурвалжийг харах

Fixed tiny but terrible mistake from two commits ago.

Michał W. Urbańczyk 12 жил өмнө
parent
commit
149ff4df14

+ 1 - 1
AI/BattleAI/BattleAI.cpp

@@ -99,7 +99,7 @@ void CBattleAI::init(shared_ptr<CBattleCallback> CB)
 
 static bool thereRemainsEnemy()
 {
-	return cbc->battleIsFinished();
+	return !cbc->battleIsFinished();
 }
 
 BattleAction CBattleAI::activeStack( const CStack * stack )