void CvPlayerAI::AI_doTurnUnitsPost() { CvUnit* pLoopUnit; int iLoop; if(!isHuman()) { for(pLoopUnit = firstUnit(&iLoop); pLoopUnit != NULL; pLoopUnit = nextUnit(&iLoop)) { pLoopUnit->AI_promote(); } } }