remove a bunch of locks
This commit is contained in:
parent
d1082edf6a
commit
d3c96dee21
1 changed files with 126 additions and 143 deletions
|
|
@ -9,8 +9,7 @@ internal sealed class DrawMapStep(MapService map) : IDrawStep
|
|||
for (ushort y = 0; y < MapService.PixelsPerColumn; y++)
|
||||
for (ushort x = 0; x < MapService.PixelsPerRow; x++)
|
||||
{
|
||||
var pixel = new PixelPosition(x, y);
|
||||
if (!map.Current.IsWall(pixel))
|
||||
if (!map.Current.IsWall(x, y))
|
||||
continue;
|
||||
|
||||
pixels[x, y].EntityType = GamePixelEntityType.Wall;
|
||||
|
|
|
|||
Reference in a new issue