Remove unused array joy_pressed
This commit is contained in:
parent
5c1091b414
commit
5994564537
1 changed files with 0 additions and 3 deletions
|
@ -658,7 +658,6 @@ IN_JoyMove
|
||||||
*/
|
*/
|
||||||
static void IN_JoyMove( void )
|
static void IN_JoyMove( void )
|
||||||
{
|
{
|
||||||
qboolean joy_pressed[ARRAY_LEN(joy_keys)];
|
|
||||||
unsigned int axes = 0;
|
unsigned int axes = 0;
|
||||||
unsigned int hats = 0;
|
unsigned int hats = 0;
|
||||||
int total = 0;
|
int total = 0;
|
||||||
|
@ -669,8 +668,6 @@ static void IN_JoyMove( void )
|
||||||
|
|
||||||
SDL_JoystickUpdate();
|
SDL_JoystickUpdate();
|
||||||
|
|
||||||
memset(joy_pressed, '\0', sizeof (joy_pressed));
|
|
||||||
|
|
||||||
// update the ball state.
|
// update the ball state.
|
||||||
total = SDL_JoystickNumBalls(stick);
|
total = SDL_JoystickNumBalls(stick);
|
||||||
if (total > 0)
|
if (total > 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue