From 437130ab55be26cca9e9574140b0e961168c7584 Mon Sep 17 00:00:00 2001 From: Colin McMillen Date: Mon, 9 Mar 2020 14:57:39 -0400 Subject: [PATCH] Scene: always draw LinesOfSight --- Shared/Scene.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Shared/Scene.cs b/Shared/Scene.cs index 2249d36..7c1418d 100644 --- a/Shared/Scene.cs +++ b/Shared/Scene.cs @@ -86,9 +86,7 @@ namespace SemiColinGames { // Draw lines of sight. 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. Matrix transform = Matrix.CreateTranslation(-camera.Left, -camera.Top, 0);