Stop accidentally reading 4 Int16s instead of 2 in SIZE section of Terragen file when loaded from a stream.

Fixes a bug introduced 2 weeks ago in 67ebe80
Thanks to Plugh for pointing this out.
0.7.4.1
Justin Clark-Casey (justincc) 2012-06-05 19:40:16 +01:00
parent a5410c2c19
commit 6adc810eaa
1 changed files with 0 additions and 2 deletions

View File

@ -178,8 +178,6 @@ namespace OpenSim.Region.CoreModules.World.Terrain.FileLoaders
// int sztmp = bs.ReadInt16() + 1; // int sztmp = bs.ReadInt16() + 1;
// fileWidth = sztmp; // fileWidth = sztmp;
// fileHeight = sztmp; // fileHeight = sztmp;
bs.ReadInt16();
bs.ReadInt16();
bs.ReadInt16(); bs.ReadInt16();
bs.ReadInt16(); bs.ReadInt16();
break; break;