From 88b3db1776759611950ed7c82e00c753c7481a22 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 25 Jul 2008 21:10:19 +0000 Subject: reverting last change --- src/client/input.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client') 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()); -- cgit v1.2.3