diff --git a/src/engine/client/input.cpp b/src/engine/client/input.cpp index 195b78aac..bf3e703cf 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: