From a88f93389c2d68727f954aebb240c2d22ffa1c86 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Mon, 3 Mar 2008 09:27:44 +0000 Subject: Fixed typo. --- OpenSim/Region/Environment/Modules/Terrain/FileLoaders/RAW32.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Environment/Modules/Terrain') 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 BinaryWriter bs = new BinaryWriter(s); int x, y; - for (y = 0; y < h; y++) + for (y = 0; y < map.Height; y++) { - for (x = 0; x < w; x++) + for (x = 0; x < map.Width; x++) { bs.Write((float)map[x, y]); } -- cgit v1.1