* Applying Mantis #737 - Fix for Terragen loader. Thanks Jonc.

0.6.0-stable
Adam Frisby 2008-03-08 23:21:35 +00:00
parent 39684496eb
commit f88324d6cd
1 changed files with 1 additions and 2 deletions

View File

@ -52,8 +52,7 @@ namespace OpenSim.Region.Environment.Modules.Terrain.FileLoaders
BinaryReader bs = new BinaryReader(s); BinaryReader bs = new BinaryReader(s);
bool eof = false; bool eof = false;
if (ASCIIEncoding.ASCII.GetString(bs.ReadBytes(16)) == "TERRAGENTERRAIN ")
if (ASCIIEncoding.ASCII.GetString(bs.ReadBytes(16)) == "TERRAGENTERRAIN")
{ {
// Terragen file // Terragen file
while (eof == false) while (eof == false)