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