summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Grid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Grid.cpp')
-rw-r--r--Stars45/Grid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/Grid.cpp b/Stars45/Grid.cpp
index b4b75c9..3101e0f 100644
--- a/Stars45/Grid.cpp
+++ b/Stars45/Grid.cpp
@@ -64,7 +64,7 @@ void Grid::Render(Video* video, DWORD flags)
c = 0;
- for (i = 0; i <= size; i += step) {
+ for (int i = 0; i <= size; i += step) {
Point p1(-size, 0, i); p1 += Location();
Point p2( size, 0, i); p2 += Location();
Point p3(-size, 0, -i); p3 += Location();