summaryrefslogtreecommitdiff
path: root/src/client/control.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/control.c')
-rw-r--r--src/client/control.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/client/control.c b/src/client/control.c
index 8075692..bfc2428 100644
--- a/src/client/control.c
+++ b/src/client/control.c
@@ -60,12 +60,9 @@ int control_get_key_route(control_t *my_control)
int control_get_key_action(control_t *my_control)
{
Uint8 *map;
- SDLKey ret_key;
assert(my_control != NULL);
- ret_key = CONTROL_NONE;
-
map = SDL_GetKeyState(NULL);
if (map[my_control->key[CONTROL_SHOT]] == SDL_PRESSED) {