summaryrefslogtreecommitdiffhomepage
path: root/Magic2/Editor.cpp
diff options
context:
space:
mode:
authorFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2011-12-08 17:30:37 +0000
committerFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2011-12-08 17:30:37 +0000
commit7156b2e5a72fb20c9fe1ffcc61b61470959c108f (patch)
tree88a2fa7520e5e8b21517303f9ddb5cbfd2fac9f5 /Magic2/Editor.cpp
parentf3f3a2b7fbd1df41cce104d62e88a6b04869298b (diff)
downloadstarshatter-7156b2e5a72fb20c9fe1ffcc61b61470959c108f.zip
starshatter-7156b2e5a72fb20c9fe1ffcc61b61470959c108f.tar.gz
starshatter-7156b2e5a72fb20c9fe1ffcc61b61470959c108f.tar.bz2
More of the same...
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++;
}