OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs

One last try at getting the X and Y all set straight.
afrisby
Brian McBee 2007-08-06 20:53:45 +00:00
parent 67004b5b03
commit b55e01b939
1 changed files with 2 additions and 2 deletions

View File

@ -635,9 +635,9 @@ namespace OpenSim.Region.Terrain
BinaryReader bs = new BinaryReader(s); BinaryReader bs = new BinaryReader(s);
int x, y; int x, y;
for (y = 0; y < dimensionY; y++)
{
for (x = 0; x < dimensionX; x++) for (x = 0; x < dimensionX; x++)
{
for (y = 0; y < dimensionY; y++)
{ {
tempMap[x,y] = (double)bs.ReadSingle(); tempMap[x,y] = (double)bs.ReadSingle();
} }