summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-04-02 15:52:24 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-04-02 15:52:24 +0200
commitfe2df4b280ecd8417cc267b8fc05ec050054ec4c (patch)
tree92500ef700f14c6bd0ca0840c9c98d3b20e72415 /main.cpp
parente172cde8c082fa3e338b3eb11079b36952874936 (diff)
Finished terrain lighting.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index cf7c3b9..1d634c2 100644
--- a/main.cpp
+++ b/main.cpp
@@ -213,7 +213,7 @@ int main(int argc, char **argv) {
break;
case SDLK_KP_MINUS:
case SDLK_MINUS:
- if(level > 0) {
+ if(level > 1) {
qt->create_nodes(--level);
}
break;