projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed joystick naming convention from file descriptor to joystick number
[rocksndiamonds.git]
/
src
/
libgame
/
system.c
diff --git
a/src/libgame/system.c
b/src/libgame/system.c
index de59d77a6ce4bf501d8d278fa43f12c29216c617..5ccf3fb3784650147bc1f70aed77af72925dd0bb 100644
(file)
--- a/
src/libgame/system.c
+++ b/
src/libgame/system.c
@@
-1620,7
+1620,7
@@
void InitJoysticks()
/* always start with reliable default values */
joystick.status = JOYSTICK_NOT_AVAILABLE;
for (i = 0; i < MAX_PLAYERS; i++)
- joystick.
fd[i] = -1; /* joystick device clos
ed */
+ joystick.
nr[i] = -1; /* no joystick configur
ed */
SDLInitJoysticks();
}