1
0
forked from 0ad/0ad

Fixing a small bug suggested by FeXoR.

This was SVN commit r12768.
This commit is contained in:
O.Davoodi 2012-10-18 18:03:01 +00:00
parent 2cb81bc87a
commit ec8b49e822

View File

@ -45,7 +45,7 @@ SimpleTerrain.prototype.placeNew = function(x, z)
{
if (this.treeType !== undefined)
{
g_Map.terrainObjects[x][z] = new Entity(this.treeType, 0, x+0.5, z+0.5, randFloat()*PI);
g_Map.terrainObjects[x][z] = new Entity(this.treeType, 0, x+0.5, z+0.5, randFloat()*TWO_PI);
}
g_Map.texture[x][z] = g_Map.getTextureID(this.texture);