diff options
Diffstat (limited to 'src/engine/client/input.cpp')
| -rw-r--r-- | src/engine/client/input.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/client/input.cpp b/src/engine/client/input.cpp index 195b78aa..bf3e703c 100644 --- a/src/engine/client/input.cpp +++ b/src/engine/client/input.cpp @@ -150,7 +150,8 @@ void CInput::Update() { // handle keys case SDL_KEYDOWN: - AddEvent(Event.key.keysym.unicode, 0, 0); // ignore_convention + if(Event.key.keysym.unicode < 255) // ignore_convention + AddEvent(Event.key.keysym.unicode, 0, 0); // ignore_convention Key = Event.key.keysym.sym; // ignore_convention break; case SDL_KEYUP: |