Disable nominal key functions during in-game chat

This commit is contained in:
Jakob Fries 2007-07-29 22:58:44 +00:00
parent 8bfaea274e
commit 8780c2fd9b

View file

@ -1354,7 +1354,7 @@ void modc_render()
// pseudo format
float zoom = 3.0f;
if(inp_key_pressed('I'))
if(!chat_active && inp_key_pressed('I'))
zoom = 1.0f;
float width = 400*zoom;