Remove an incorrect static.

The CKey constructor fetches the current keyboard state, so
declaring it static will never give the correct result.
This commit is contained in:
Celtic Minstrel 2017-05-29 23:55:42 -04:00
parent f26fbe9aba
commit 88a74faa71

View file

@ -791,7 +791,7 @@ void play_controller::process_keyup_event(const SDL_Event& event)
}
} else if (event.key.keysym.sym == SDLK_TAB) {
static CKey keys;
CKey keys;
if (!keys[SDLK_TAB]) {
whiteboard_manager_->set_invert_behavior(false);
}