aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorAdam Frisby2008-03-08 23:21:35 +0000
committerAdam Frisby2008-03-08 23:21:35 +0000
commitf88324d6cd1a620947a6c0dffb5d619c3d5e1ede (patch)
treea00c40b6562f69d8e57a508e5b0e211ca17cf5a7 /OpenSim/Region
parentRemove two warnings with unused variables. (diff)
downloadopensim-SC-f88324d6cd1a620947a6c0dffb5d619c3d5e1ede.zip
opensim-SC-f88324d6cd1a620947a6c0dffb5d619c3d5e1ede.tar.gz
opensim-SC-f88324d6cd1a620947a6c0dffb5d619c3d5e1ede.tar.bz2
opensim-SC-f88324d6cd1a620947a6c0dffb5d619c3d5e1ede.tar.xz
* Applying Mantis #737 - Fix for Terragen loader. Thanks Jonc.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Environment/Modules/Terrain/FileLoaders/Terragen.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/Terragen.cs b/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/Terragen.cs
index d836f83..04e539a 100644
--- a/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/Terragen.cs
+++ b/OpenSim/Region/Environment/Modules/Terrain/FileLoaders/Terragen.cs
@@ -52,8 +52,7 @@ namespace OpenSim.Region.Environment.Modules.Terrain.FileLoaders
52 BinaryReader bs = new BinaryReader(s); 52 BinaryReader bs = new BinaryReader(s);
53 53
54 bool eof = false; 54 bool eof = false;
55 55 if (ASCIIEncoding.ASCII.GetString(bs.ReadBytes(16)) == "TERRAGENTERRAIN ")
56 if (ASCIIEncoding.ASCII.GetString(bs.ReadBytes(16)) == "TERRAGENTERRAIN")
57 { 56 {
58 // Terragen file 57 // Terragen file
59 while (eof == false) 58 while (eof == false)