about summary refs log tree commit diff
path: root/src/game/client/gc_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/client/gc_client.cpp')
-rw-r--r--src/game/client/gc_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/gc_client.cpp b/src/game/client/gc_client.cpp
index 580eb302..df6c3efd 100644
--- a/src/game/client/gc_client.cpp
+++ b/src/game/client/gc_client.cpp
@@ -805,7 +805,7 @@ void render_game()
 			{
 				INPUT_EVENT e = inp_get_event(i);
 	
-				if (!(e.ch >= 0 && e.ch < 32))
+				if(e.ch > 32)
 				{
 					if (chat_input_len < sizeof(chat_input) - 1)
 					{