shithub: choc

Download patch

ref: 7a757b5c2422e9e834914207553463de11dc39a5
parent: 2f78d0d86e254ed4bdf22196991a881407c09764
author: Simon Howard <[email protected]>
date: Tue Sep 19 16:12:27 EDT 2006

Set mouse button defaults.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 619

--- a/setup/mouse.c
+++ b/setup/mouse.c
@@ -29,9 +29,9 @@
 int accel;
 int threshold;
 
-int mouseb_fire;
-int mouseb_strafe;
-int mouseb_forward;
+int mouseb_fire = 0;
+int mouseb_forward = 1;
+int mouseb_strafe = 2;
 
 static int *all_mouse_buttons[] = {&mouseb_fire, &mouseb_strafe, 
                                    &mouseb_forward};