From 64ee4a54f4730cdf777d75694ab48280f543ac88 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 8 Dec 2011 18:12:44 +0000 Subject: More scoping fixes --- Stars45/ShieldRep.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Stars45/ShieldRep.cpp') diff --git a/Stars45/ShieldRep.cpp b/Stars45/ShieldRep.cpp index 31ef1f4..edf5c93 100644 --- a/Stars45/ShieldRep.cpp +++ b/Stars45/ShieldRep.cpp @@ -170,7 +170,7 @@ ShieldRep::Illuminate() if (nhits < 1) return; - for (i = 0; i < MAX_SHIELD_HITS; i++) { + for (int i = 0; i < MAX_SHIELD_HITS; i++) { if (hits[i].damage > 0) { // add the hit's contribution to the shield verts: Vec3 hitloc = hits[i].hitloc; -- cgit v1.1