* Applying Mantis #737 - Fix for Terragen loader. Thanks Jonc.
parent
39684496eb
commit
f88324d6cd
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue