Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/input.cc')
-rw-r--r--src/client/input.cc1
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;