summaryrefslogtreecommitdiffstats
path: root/src/View/TopView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/View/TopView.cpp')
-rw-r--r--src/View/TopView.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/View/TopView.cpp b/src/View/TopView.cpp
index da26242..e0004fb 100644
--- a/src/View/TopView.cpp
+++ b/src/View/TopView.cpp
@@ -74,7 +74,7 @@ void TopView::drawGrid(Gui::RenderArea *renderArea) {
glBegin(GL_LINES);
- for(int i = 0; 0.4f*(depth-depth2+i-1) < 0.5f; i++) {
+ for(int i = 0; 0.4f*(depth-depth2+i-1) < 0.5f; ++i) {
float f = std::min(0.4f*(depth-depth2+i), 0.5f);
glColor3f(f, f, f);