瀏覽代碼

Relaxed ordering requirements - player can start turn even if players
before him are waiting to act. E.g. green can start turn even if blue
and red are in contact and blue is yet to start his turn

Ivan Savenko 1 年之前
父節點
當前提交
18c0217679
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      server/processors/TurnOrderProcessor.cpp

+ 1 - 1
server/processors/TurnOrderProcessor.cpp

@@ -163,7 +163,7 @@ bool TurnOrderProcessor::mustActBefore(PlayerColor left, PlayerColor right) cons
 	if (!leftInfo->isHuman() && rightInfo->isHuman())
 	if (!leftInfo->isHuman() && rightInfo->isHuman())
 		return false;
 		return false;
 
 
-	return left < right;
+	return false;
 }
 }
 
 
 bool TurnOrderProcessor::canStartTurn(PlayerColor which) const
 bool TurnOrderProcessor::canStartTurn(PlayerColor which) const