diff options
| author | Michal Zima <xhire@mujmalysvet.cz> | 2010-06-07 20:35:00 +0200 |
|---|---|---|
| committer | Michal Zima <xhire@mujmalysvet.cz> | 2010-06-07 20:35:00 +0200 |
| commit | e6b473b7522c331cb8d2c62e8a2d05e0840800db (patch) | |
| tree | 6d911ca4559dd43f8ea2c377a836e0e3b03f1c49 /src/client | |
| parent | 0cb72c814fa839268ed7a09d59d82aa1514a8155 (diff) | |
[BUGFIX] Player uses other gun than he expects
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/control.c | 3 |
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) { |