diff options
| author | Jonas Ask | 2009-11-24 00:10:52 +0000 |
|---|---|---|
| committer | Jonas Ask | 2009-11-24 00:10:52 +0000 |
| commit | 2a4eebfb63ad397dcaa9d9bd977df1e6ca1ba40d (patch) | |
| tree | d742c8ef0726102d7f70315ee1ed2270586723dc /UserInput.cpp | |
| parent | 07b48d1afa1fc22330b586aeadb0926ffef31b41 (diff) | |
| download | stonesense-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.cpp | 4 |
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;
|
