diff options
author | Jeff Ames | 2008-03-03 09:27:44 +0000 |
---|---|---|
committer | Jeff Ames | 2008-03-03 09:27:44 +0000 |
commit | a88f93389c2d68727f954aebb240c2d22ffa1c86 (patch) | |
tree | b363793f0505fa52887bbb30f1e4fe62188a66f3 /OpenSim/Region/Environment/Modules/Terrain/FileLoaders/RAW32.cs | |
parent | * Oops, fixed. (diff) | |
download | opensim-SC_OLD-a88f93389c2d68727f954aebb240c2d22ffa1c86.zip opensim-SC_OLD-a88f93389c2d68727f954aebb240c2d22ffa1c86.tar.gz opensim-SC_OLD-a88f93389c2d68727f954aebb240c2d22ffa1c86.tar.bz2 opensim-SC_OLD-a88f93389c2d68727f954aebb240c2d22ffa1c86.tar.xz |
Fixed typo.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Terrain/FileLoaders/RAW32.cs | 4 |
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 | } |