fixes some typos in previous commits

This was SVN commit r16433.
This commit is contained in:
mimo 2015-03-15 20:58:33 +00:00
parent 2b6bde800c
commit 2395204011
2 changed files with 5 additions and 5 deletions

View File

@ -259,13 +259,13 @@ for (var i = 0; i < numIslands; ++i)
if (newIsland && newIsland.length)
{
var n = 0;
for (var j = 0; j < lakeAreaLen; ++j)
for (var j = 0; j < landAreaLen; ++j)
{
var x = lakeAreas[j][0], z = lakeAreas[j][1];
var x = landAreas[j][0], z = landAreas[j][1];
if (playerConstraint.allows(x, z) && waterConstraint.allows(x, z))
lakeAreas[n++] = lakeAreas[j];
landAreas[n++] = landAreas[j];
}
lakeAreas.length = n;
landAreas.length = n;
}
}

View File

@ -31,7 +31,7 @@ m.chatRequestTribute = function(gameState, resource)
{
var proba = Math.random();
if (proba < 0.5)
var message = "/team " + markForTranslation("I am in need of %(resource)s, can you help ? I will make it up to you.");
var message = "/team " + markForTranslation("I am in need of %(resource)s, can you help? I will make it up to you.");
else
var message = "/team " + markForTranslation("I would particate more efficiently in our common war effort if you could provide me some %(resource)s");