[quake3-commits] [ioquake/ioq3] 3518e7: Fix bind commands getting run when closing UI

Zack Middleton zturtleman at gmail.com
Mon Jul 22 18:50:54 EDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: 3518e7b22eac96d2f1afe59337c1ad5c3282fc15
      https://github.com/ioquake/ioq3/commit/3518e7b22eac96d2f1afe59337c1ad5c3282fc15
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2013-07-22 (Mon, 22 Jul 2013)

  Changed paths:
    M code/client/cl_keys.c

  Log Message:
  -----------
  Fix bind commands getting run when closing UI

Introduced in commit "Add togglemenu command" bf2b04.

Don't let UI key event changing key catcher affect bind parsing. Bind parsing itself will never change the key catcher.

Example of issue: if mouse1 is bound to +attack when clicking Resume Game, player will shoot until releasing the mouse button.
Mouse button should have to be released and pressed again before player will shoot.





More information about the quake3-commits mailing list