mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
* Applying Mantis #737 - Fix for Terragen loader. Thanks Jonc.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user