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

This commit is contained in:
Adam Frisby
2008-03-08 23:21:35 +00:00
parent 39684496eb
commit f88324d6cd

View File

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