diff options
author | Stijn Buys <ingar@osirion.org> | 2008-07-31 12:43:43 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-07-31 12:43:43 +0000 |
commit | 3da609588ad6fe7eb0581e4678a2ec8c6c1c4a18 (patch) | |
tree | 6824ff50935275424156f34fd5ec7912c1f4b055 /src/client | |
parent | 02f6bfcef4f2e8b0fdbf12c652ab202edbeed19a (diff) |
more heisenbugs fixes
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/input.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/input.cc b/src/client/input.cc index 052ffb2..b5d4c0d 100644 --- a/src/client/input.cc +++ b/src/client/input.cc @@ -580,6 +580,7 @@ void frame(float seconds) Key *key = 0; bool pressed = false; + memset(&event, 0, sizeof(SDL_Event)); while (SDL_PollEvent(&event)) { pressed = false; key = 0; |