mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-09 00:15:48 -07:00
parent
dec4552ffe
commit
64adec79da
1 changed files with 1 additions and 1 deletions
|
|
@ -262,7 +262,7 @@ for (var i = 0; i < numIslands; ++i)
|
|||
for (var j = 0; j < landAreaLen; ++j)
|
||||
{
|
||||
var x = landAreas[j][0], z = landAreas[j][1];
|
||||
if (playerConstraint.allows(x, z) && waterConstraint.allows(x, z))
|
||||
if (playerConstraint.allows(x, z) && landConstraint.allows(x, z))
|
||||
landAreas[n++] = landAreas[j];
|
||||
}
|
||||
landAreas.length = n;
|
||||
|
|
|
|||
Loading…
Reference in a new issue