fixed "bug" where you can select opposite buttons for the same function like left and right arrow for turn left. now you can define only one button for the selected funktion.

This commit is contained in:
q3rally 2016-05-17 12:15:37 +00:00
parent 225ac61dfa
commit 5484d43f6c
3 changed files with 6 additions and 6 deletions

View file

@ -794,7 +794,7 @@ static void Controls_DrawKeyBinding( void *self )
{
menuaction_s* a;
int x;
int y;
// int y;
int b1;
// int b2;
qboolean c;
@ -804,7 +804,7 @@ static void Controls_DrawKeyBinding( void *self )
a = (menuaction_s*) self;
x = a->generic.x;
y = a->generic.y;
// y = a->generic.y;
c = (Menu_ItemAtCursor( a->generic.parent ) == a);

View file

@ -55,7 +55,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define BASETA "missionpack"
#ifndef PRODUCT_VERSION
#define PRODUCT_VERSION "v0.0.0.4 r154"
#define PRODUCT_VERSION "v0.0.0.4 r155"
#endif
#define Q3_VERSION PRODUCT_NAME " " PRODUCT_VERSION

View file

@ -861,10 +861,10 @@ q3rallycode
1=engine\code\q3_ui\ui_rally_controls.c
[Selected Project Files]
Main=
Selected=engine\code\q3_ui\ui_rally_controls.c
Selected=engine\code\qcommon\q_shared.h
[engine\code\qcommon\q_shared.h]
TopLine=40
Caret=39,58
[engine\code\q3_ui\ui_rally_controls.c]
TopLine=777
Caret=13,799
TopLine=790
Caret=3,807