diff options
| author | Japa | 2010-07-31 03:06:53 +0000 |
|---|---|---|
| committer | Japa | 2010-07-31 03:06:53 +0000 |
| commit | 641040bc8f4322e4ba9e0417e8f148c9d102dc65 (patch) | |
| tree | e300cc2ecf5e45d75899101d14cbb7542ec702fd /UserInput.cpp | |
| parent | f4654513350d988342b68a79548d18381cd32b55 (diff) | |
| download | stonesense-641040bc8f4322e4ba9e0417e8f148c9d102dc65.tar.gz stonesense-641040bc8f4322e4ba9e0417e8f148c9d102dc65.tar.bz2 stonesense-641040bc8f4322e4ba9e0417e8f148c9d102dc65.tar.xz | |
added the ability to set tiles according to the surroundings.
Diffstat (limited to 'UserInput.cpp')
| -rw-r--r-- | UserInput.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/UserInput.cpp b/UserInput.cpp index 6e3a334..60dce02 100644 --- a/UserInput.cpp +++ b/UserInput.cpp @@ -230,7 +230,8 @@ void doKeys(int Key) timeToReloadSegment = true;
}
if(Key == ALLEGRO_KEY_C){
- config.truncate_walls = !config.truncate_walls;
+ config.truncate_walls++;
+ if (config.truncate_walls > 2) config.truncate_walls = 0;
timeToReloadSegment = true;
}
if(Key == ALLEGRO_KEY_F){
|
