diff options
| author | Kris Parker | 2009-11-23 11:28:03 +0000 |
|---|---|---|
| committer | Kris Parker | 2009-11-23 11:28:03 +0000 |
| commit | 0529f64b91c15fb7c659d48beada8151f6e87cae (patch) | |
| tree | 5023c5d090e6ac6064e84619b8d9ef3ac15d0807 /UserInput.cpp | |
| parent | 48f9a310285903cbb0ddfbeab8ec5f13b2f084ad (diff) | |
| download | stonesense-0529f64b91c15fb7c659d48beada8151f6e87cae.tar.gz stonesense-0529f64b91c15fb7c659d48beada8151f6e87cae.tar.bz2 stonesense-0529f64b91c15fb7c659d48beada8151f6e87cae.tar.xz | |
Left mouse move screen if 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 082adf3..c076b3a 100644 --- a/UserInput.cpp +++ b/UserInput.cpp @@ -97,7 +97,7 @@ void doKeys(){ timeToReloadSegment = true;
last_mouse_z = mouse_z;
}
- if(mouse_b & 2){
+ if((mouse_b & 2) || ((mouse_b & 1) && !config.debug_mode )){
int pos, x, y;
pos = mouse_pos;
x = pos >> 16;
@@ -113,7 +113,7 @@ void doKeys(){ timeToReloadSegment = true;
//rest(50);
}
- if(mouse_b & 1){
+ else if (mouse_b & 1){
int pos, x, y;
pos = mouse_pos;
x = mouse_x;//pos >> 16;
|
