summaryrefslogtreecommitdiff
path: root/UserInput.cpp
diff options
context:
space:
mode:
authorJonas Ask2009-11-24 00:10:52 +0000
committerJonas Ask2009-11-24 00:10:52 +0000
commit2a4eebfb63ad397dcaa9d9bd977df1e6ca1ba40d (patch)
treed742c8ef0726102d7f70315ee1ed2270586723dc /UserInput.cpp
parent07b48d1afa1fc22330b586aeadb0926ffef31b41 (diff)
downloadstonesense-2a4eebfb63ad397dcaa9d9bd977df1e6ca1ba40d.tar.gz
stonesense-2a4eebfb63ad397dcaa9d9bd977df1e6ca1ba40d.tar.bz2
stonesense-2a4eebfb63ad397dcaa9d9bd977df1e6ca1ba40d.tar.xz
Had to revert some changes in UserInput.cpp, because the minimap didn't work when NOT in debug mode...
Diffstat (limited to 'UserInput.cpp')
-rw-r--r--UserInput.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/UserInput.cpp b/UserInput.cpp
index c4366be..54a4111 100644
--- a/UserInput.cpp
+++ b/UserInput.cpp
@@ -99,7 +99,7 @@ void doKeys(){
timeToReloadSegment = true;
last_mouse_z = mouse_z;
}
- if((mouse_b & 2) || ((mouse_b & 1) && !config.debug_mode )){
+ if( mouse_b & 2 ){
config.follow_DFscreen = false;
int pos, x, y;
pos = mouse_pos;
@@ -116,7 +116,7 @@ void doKeys(){
timeToReloadSegment = true;
//rest(50);
}
- else if (mouse_b & 1){
+ if( mouse_b & 1 ){
int pos, x, y;
pos = mouse_pos;
x = mouse_x;//pos >> 16;