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 20:07:09 +00:00
parent 5484d43f6c
commit 0e4e4f9a7a
3 changed files with 5 additions and 5 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);
@ -823,7 +823,7 @@ static void Controls_DrawKeyBinding( void *self )
// Q_strupr(name2);
// strcat( name, " or " );
strcat( name );
strcat( name, 0 );
// strcat( name, name2 );
// }
}

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 r155"
#define PRODUCT_VERSION "v0.0.0.4 r156"
#endif
#define Q3_VERSION PRODUCT_NAME " " PRODUCT_VERSION

View file

@ -867,4 +867,4 @@ TopLine=40
Caret=39,58
[engine\code\q3_ui\ui_rally_controls.c]
TopLine=790
Caret=3,807
Caret=24,826