diff options
| author | Caldfir | 2012-04-17 18:58:09 -0700 |
|---|---|---|
| committer | Caldfir | 2012-04-17 18:58:09 -0700 |
| commit | 24e538eeec0c966be264f47174b329f086ce51f2 (patch) | |
| tree | cb6c96430ad23fb2a4904b2b73c9edc0040f55cc /UserInput.cpp | |
| parent | bd888a3cdc6fe40ade5ba2f8b103c1151fb1c8cc (diff) | |
| download | stonesense-24e538eeec0c966be264f47174b329f086ce51f2.tar.gz stonesense-24e538eeec0c966be264f47174b329f086ce51f2.tar.bz2 stonesense-24e538eeec0c966be264f47174b329f086ce51f2.tar.xz | |
Made a less-aggressive version of the occlusion cull (only attempts to cull hidden blocks).
Diffstat (limited to 'UserInput.cpp')
| -rw-r--r-- | UserInput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UserInput.cpp b/UserInput.cpp index 96c31fb..55cb7ac 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;
+ config.occlusion = (config.occlusion+1)%3;
timeToReloadSegment = true;
}
if(Key == ALLEGRO_KEY_M){
|
