summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorPhilip <philip@philip-linuxlaptop.(none)>2010-11-16 17:15:34 (GMT)
committer Philip <philip@philip-linuxlaptop.(none)>2010-11-16 17:15:34 (GMT)
commit245628a7fd00422671cc931e258888ddddd7a4c5 (patch)
treeeab1fbe0b18ceda8726d4ed9611136b171344e80 /src/main.c
parent663db5374fcd64afe81235f6646b3112ad5971c1 (diff)
downloadpowder-245628a7fd00422671cc931e258888ddddd7a4c5.zip
powder-245628a7fd00422671cc931e258888ddddd7a4c5.tar.gz
added WARP PUMP fix alt-click select.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 1ce25ba..4aff502 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1866,7 +1866,7 @@ int main(int argc, char *argv[])
lb = 0;
lm = 0;
}
- else if(((sdl_mod & (KMOD_LALT||KMOD_RALT)) && !sdl_mod & (KMOD_SHIFT)) || b==SDL_BUTTON_MIDDLE)
+ else if(((sdl_mod & (KMOD_LALT|KMOD_RALT)) && !(sdl_mod & (KMOD_SHIFT))) || b==SDL_BUTTON_MIDDLE)
{
if(y>0 && y<sdl_scale*YRES && x>0 && x<sdl_scale*XRES)
{