fixed bug and we don't really need a long sleep in there

This commit is contained in:
codeimp 2007-10-26 19:12:44 +00:00
parent 65b4db3428
commit c6eb815811
2 changed files with 2 additions and 2 deletions

View file

@ -327,7 +327,7 @@ namespace CodeImp.DoomBuilder.Data
}
// Wait a bit
Thread.Sleep(10);
Thread.Sleep(1);
lock(list)
{

View file

@ -167,7 +167,7 @@ namespace CodeImp.DoomBuilder.IO
PixelColor* pixeldata = null;
float sqrlength;
byte[] bytes;
uint datalength;
uint datalength = 0;
// Check if the flat is square
sqrlength = (float)Math.Sqrt(stream.Length);