summaryrefslogtreecommitdiff
path: root/UserInput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'UserInput.cpp')
-rw-r--r--UserInput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/UserInput.cpp b/UserInput.cpp
index 55cb7ac..96c31fb 100644
--- a/UserInput.cpp
+++ b/UserInput.cpp
@@ -225,7 +225,7 @@ void doKeys(int Key)
timeToReloadSegment = true;
}
if(Key == ALLEGRO_KEY_O){
- config.occlusion = (config.occlusion+1)%3;
+ config.occlusion = !config.occlusion;
timeToReloadSegment = true;
}
if(Key == ALLEGRO_KEY_M){