aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Modules/Terrain/FileLoaders/RAW32.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/RAW32.cs b/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/RAW32.cs
index d69d62a..8ba93cb 100644
--- a/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/RAW32.cs
+++ b/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/RAW32.cs
@@ -64,9 +64,9 @@ namespace OpenSim.Region.Environment.Modules.Terrain.FileLoaders
64 BinaryWriter bs = new BinaryWriter(s); 64 BinaryWriter bs = new BinaryWriter(s);
65 65
66 int x, y; 66 int x, y;
67 for (y = 0; y < h; y++) 67 for (y = 0; y < map.Height; y++)
68 { 68 {
69 for (x = 0; x < w; x++) 69 for (x = 0; x < map.Width; x++)
70 { 70 {
71 bs.Write((float)map[x, y]); 71 bs.Write((float)map[x, y]);
72 } 72 }