summaryrefslogtreecommitdiffhomepage
path: root/Stars45/ShieldRep.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/ShieldRep.cpp')
-rw-r--r--Stars45/ShieldRep.cpp2
1 files changed, 1 insertions, 1 deletions
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;