wherever you try to hide yourself, ultra cpu will find you too now after a while :-D .....
This commit is contained in:
parent
d6cef888a6
commit
780cb81324
|
@ -464,9 +464,11 @@ void Ai::sendScoutPatrol(){
|
||||||
int unit;
|
int unit;
|
||||||
bool possibleTargetFound= false;
|
bool possibleTargetFound= false;
|
||||||
|
|
||||||
if((aiInterface->getControlType() == ctCpuMega || aiInterface->getControlType() == ctNetworkCpuMega)
|
bool ultraResourceAttack= (aiInterface->getControlType() == ctCpuUltra || aiInterface->getControlType() == ctNetworkCpuUltra)
|
||||||
&& random.randRange(0, 1) == 1)
|
&& random.randRange(0, 2) == 1;
|
||||||
{
|
bool megaResourceAttack=(aiInterface->getControlType() == ctCpuMega || aiInterface->getControlType() == ctNetworkCpuMega)
|
||||||
|
&& random.randRange(0, 1) == 1;
|
||||||
|
if( megaResourceAttack || ultraResourceAttack) {
|
||||||
Map *map= aiInterface->getMap();
|
Map *map= aiInterface->getMap();
|
||||||
|
|
||||||
const TechTree *tt= aiInterface->getTechTree();
|
const TechTree *tt= aiInterface->getTechTree();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user