mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-11-24 21:01:34 +00:00
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:
parent
5484d43f6c
commit
0e4e4f9a7a
3 changed files with 5 additions and 5 deletions
|
@ -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 );
|
||||
// }
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue