Fixed a bug: AI does not have to use the doubleside ability to avoid loops.
This commit is contained in:
@@ -632,6 +632,10 @@ int OrderedAIAction::getEfficiency()
|
|||||||
efficiency = 90;
|
efficiency = 90;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (dynamic_cast<AATurnSide *>(a))
|
||||||
|
{
|
||||||
|
efficiency = 0; // AI does not have to use the doubleside ability to avoid loops.
|
||||||
|
}
|
||||||
else if (ATokenCreator * atc = dynamic_cast<ATokenCreator *>(a))
|
else if (ATokenCreator * atc = dynamic_cast<ATokenCreator *>(a))
|
||||||
{
|
{
|
||||||
efficiency = 80;
|
efficiency = 80;
|
||||||
|
|||||||
Reference in New Issue
Block a user