Scene: always draw LinesOfSight

This commit is contained in:
Colin McMillen 2020-03-09 14:57:39 -04:00
parent 9504c2236c
commit 437130ab55

View File

@ -86,9 +86,7 @@ namespace SemiColinGames {
// Draw lines of sight. // Draw lines of sight.
basicEffect.Projection = camera.Projection; basicEffect.Projection = camera.Projection;
if (Debug.Enabled) { world.LinesOfSight.Draw(graphics, basicEffect);
world.LinesOfSight.Draw(graphics, basicEffect);
}
// Set up transformation matrix for drawing world objects. // Set up transformation matrix for drawing world objects.
Matrix transform = Matrix.CreateTranslation(-camera.Left, -camera.Top, 0); Matrix transform = Matrix.CreateTranslation(-camera.Left, -camera.Top, 0);