summaryrefslogtreecommitdiffstats
path: root/src/View/TopView.cpp
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2008-05-03 02:05:05 +0200
committerneoraider <devnull@localhost>2008-05-03 02:05:05 +0200
commiteb096e97d63c3bdbb2913dc0bb8abacef5ee3bf1 (patch)
tree8ffa42f6f90d9377f417a033ce5b5f5a0746d5b8 /src/View/TopView.cpp
parent12ebbe18e1c54c854286e38a4cf9e15433cd1bb2 (diff)
downloadzoomedit-eb096e97d63c3bdbb2913dc0bb8abacef5ee3bf1.tar
zoomedit-eb096e97d63c3bdbb2913dc0bb8abacef5ee3bf1.zip
zoomedit:
* Implemented MapView
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);