Browse Source

Fixed tiny but terrible mistake from two commits ago.

Michał W. Urbańczyk 12 năm trước cách đây
mục cha
commit
149ff4df14
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      AI/BattleAI/BattleAI.cpp

+ 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 )