summaryrefslogtreecommitdiff
path: root/UserInput.cpp
diff options
context:
space:
mode:
authorJonas Ask2009-10-30 03:18:01 +0000
committerJonas Ask2009-10-30 03:18:01 +0000
commit37c4d4618aea77ece7592c82ba04d9b7a0abc594 (patch)
tree36f00b2cd76238f66180fa9446f9abe7812d7465 /UserInput.cpp
parent834b50701e59c5fe1e84f1562f7bc0f2240db37f (diff)
downloadstonesense-37c4d4618aea77ece7592c82ba04d9b7a0abc594.tar.gz
stonesense-37c4d4618aea77ece7592c82ba04d9b7a0abc594.tar.bz2
stonesense-37c4d4618aea77ece7592c82ba04d9b7a0abc594.tar.xz
Fixed some boundary issues with navigating the edges of the map.
Slight performance tweak to MapLoading.cpp
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 da09db5..37e5374 100644
--- a/UserInput.cpp
+++ b/UserInput.cpp
@@ -109,13 +109,13 @@ void doKeys(){
}
if(key[KEY_MINUS_PAD]){
config.automatic_reload_time -= config.automatic_reload_step;
- paintboard();
if( config.automatic_reload_time <= 0 ){
config.automatic_reload_time = 0;
remove_int( automaticReloadProc );
}
else
install_int( automaticReloadProc, config.automatic_reload_time );
+ paintboard();
while(key[KEY_MINUS_PAD]);
}