diff options
author | Stijn Buys <ingar@osirion.org> | 2008-07-25 21:10:19 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-07-25 21:10:19 +0000 |
commit | 88b3db1776759611950ed7c82e00c753c7481a22 (patch) | |
tree | 572e85ed0d4baf883de170ccbe07fe8033ebd843 /src/client | |
parent | ae21836b66252c2b0d49b5eeca9351cf894b4673 (diff) |
reverting last change
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/input.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/input.cc b/src/client/input.cc index 29226cb..6306fc8 100644 --- a/src/client/input.cc +++ b/src/client/input.cc @@ -410,7 +410,7 @@ void key_pressed(Key *key) } else if (core::application()->connected() && core::localcontrol()) { - if ((key->sym() == 512 + SDL_BUTTON_LEFT) && targets::hover() && (targets::current_id() != targets::hover())) { + if ((key->sym() == 512 + SDL_BUTTON_LEFT) && targets::hover()) { // hovering target selected targets::select_target(targets::hover()); |