Afforess
The White Wizard
Found a cause of an infinite loop, in CvSelectionGroup, from Better AI:
Your code appears twice in CvSelectionGroup.cpp, so this fix will need to be applied twice.
Code:
/************************************************************************************************/
/* Afforess Start 07/27/10 */
/* */
/* Infinite Loop Fix */
/************************************************************************************************/
/*
if( pLoopUnit->canMove() && pLoopUnit->canPillage(plot()) )
*/
if( pLoopUnit->canMove() && pLoopUnit->canPillage(pLoopUnit->plot()) )
/************************************************************************************************/
/* Afforess END */
/************************************************************************************************/
Your code appears twice in CvSelectionGroup.cpp, so this fix will need to be applied twice.