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/Grid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Stars45/Grid.cpp') 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(); -- cgit v1.1