Fixing a small bug suggested by FeXoR.
This was SVN commit r12768.
This commit is contained in:
parent
2cb81bc87a
commit
ec8b49e822
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user