Browse Source

Scene: always draw LinesOfSight

master
Colin McMillen 4 years ago
parent
commit
437130ab55
  1. 4
      Shared/Scene.cs

4
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);

Loading…
Cancel
Save