diff --git a/Shared/LinesOfSight.cs b/Shared/LinesOfSight.cs index c4d6482..3589b53 100644 --- a/Shared/LinesOfSight.cs +++ b/Shared/LinesOfSight.cs @@ -86,7 +86,7 @@ namespace SemiColinGames { foreach (EffectPass pass in lightingEffect.CurrentTechnique.Passes) { pass.Apply(); - graphics.DrawIndexedPrimitives(PrimitiveType.TriangleList, 0, 0, coneVertices.Length, 0, indices.Length / 3); + graphics.DrawIndexedPrimitives(PrimitiveType.TriangleList, 0, 0, indices.Length / 3); } } }