From 3eb420612c8f241b08a7854abd3b689736174478 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 20 Aug 2008 14:49:44 +0100 Subject: Use either mouse button for thrust --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 1f07910..14ff3f2 100644 --- a/src/main.c +++ b/src/main.c @@ -280,7 +280,7 @@ int main(int argc, char *argv[]) { game->view_angle = deg2rad(-20.0) + (my-cy)*vang_scale; if ( game->view_angle > deg2rad(89.0) ) game->view_angle = deg2rad(89.0); if ( game->view_angle < deg2rad(-89.0) ) game->view_angle = deg2rad(-89.0); - if ( !game->thrusting && (buttons & SDL_BUTTON(1)) ) { + if ( !game->thrusting && ((buttons & SDL_BUTTON(1)) || (buttons & SDL_BUTTON(3))) ) { game->thrusting = 1; mouse_thrust = 1; } -- cgit v1.2.3