summaryrefslogtreecommitdiffhomepage
path: root/Magic2/Editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Magic2/Editor.cpp')
-rw-r--r--Magic2/Editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Magic2/Editor.cpp b/Magic2/Editor.cpp
index c8e35be..cfaf40d 100644
--- a/Magic2/Editor.cpp
+++ b/Magic2/Editor.cpp
@@ -336,7 +336,7 @@ Editor::Resegment()
// create new cohesive segments:
Segment* segment = 0;
- for (n = 0; n < npolys; n++) {
+ for (int n = 0; n < npolys; n++) {
if (segment && segment->material == polys[n].material) {
segment->npolys++;
}