mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-17 01:22:18 +00:00
fixed bug and we don't really need a long sleep in there
This commit is contained in:
parent
65b4db3428
commit
c6eb815811
2 changed files with 2 additions and 2 deletions
|
@ -327,7 +327,7 @@ namespace CodeImp.DoomBuilder.Data
|
|||
}
|
||||
|
||||
// Wait a bit
|
||||
Thread.Sleep(10);
|
||||
Thread.Sleep(1);
|
||||
|
||||
lock(list)
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue