1
0
forked from 0ad/0ad

petra: remove a useless leftover test

This was SVN commit r21599.
This commit is contained in:
mimo 2018-03-21 18:06:18 +00:00
parent 29492badb7
commit c387ce54f4

View File

@ -492,7 +492,7 @@ m.ConstructionPlan.prototype.findDockPosition = function(gameState)
score += 20;
// Do a pre-selection, supposing we will have the best possible water
if (bestIdx !== undefined && score > bestVal + 5 * maxWater && !oversea)
if (bestIdx !== undefined && score > bestVal + 5 * maxWater)
continue;
let x = (i % obstructions.width + 0.5) * obstructions.cellSize;