Fix the build and stops the AI from creating tons of AI dump images for no good reason.
This was SVN commit r13231.
This commit is contained in:
parent
a45a926aeb
commit
081721c679
@ -269,7 +269,7 @@ CityAttack.prototype.updatePreparation = function(gameState, militaryManager,eve
|
||||
}
|
||||
}
|
||||
// when we have a target, we path to it.
|
||||
this.path = this.pathFinder.getPath(this.rallyPoint,this.targetPos, 4, 4,300000,gameState);
|
||||
this.path = this.pathFinder.getPath(this.rallyPoint,this.targetPos, 4, 4);//,300000,gameState);
|
||||
|
||||
if (this.path === undefined) {
|
||||
delete this.pathFinder;
|
||||
|
@ -398,7 +398,7 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
if (callConstructor)
|
||||
if (hasTechs)
|
||||
{
|
||||
// Set up the data to pass as the constructor argument
|
||||
CScriptVal settings;
|
||||
|
Loading…
Reference in New Issue
Block a user