瀏覽代碼

Fixed tiny but terrible mistake from two commits ago.

Michał W. Urbańczyk 12 年之前
父節點
當前提交
149ff4df14
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 )