summaryrefslogtreecommitdiffhomepage
path: root/nGenEx/Shadow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nGenEx/Shadow.cpp')
-rw-r--r--nGenEx/Shadow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/nGenEx/Shadow.cpp b/nGenEx/Shadow.cpp
index 3038062..1e7eb96 100644
--- a/nGenEx/Shadow.cpp
+++ b/nGenEx/Shadow.cpp
@@ -120,7 +120,7 @@ Shadow::Update(Light* light)
extent.Normalize();
extent *= 50.0e3f; //solid->Radius() * 2.1f;
- for (i = 0; i < (int) num_edges; i++) {
+ for (int i = 0; i < (int) num_edges; i++) {
if (nverts+6 <= max_verts) {
Vec3 v1 = s->GetVLoc()[edges[2*i+0]];
Vec3 v2 = s->GetVLoc()[edges[2*i+1]];