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:
wraitii 2013-03-06 14:33:15 +00:00
parent a45a926aeb
commit 081721c679
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -398,7 +398,7 @@ public:
return false;
}
if (callConstructor)
if (hasTechs)
{
// Set up the data to pass as the constructor argument
CScriptVal settings;