From 8071fcbf88095bcaf54742062a4ebde87a801fd0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 9 Feb 2016 16:56:33 +0300 Subject: Allow select skill units and attack it. Also add key for select skill unit. --- src/gui/viewport.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/viewport.cpp') diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index c7483b8a2..40f32457c 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -452,7 +452,8 @@ bool Viewport::leftMouseAction() } else if (!stopAttack && (type == ActorType::Monster || - type == ActorType::Npc)) + type == ActorType::Npc || + type == ActorType::SkillUnit)) { if ((localPlayer->withinAttackRange(mHoverBeing) || inputManager.isActionActive(InputAction::ATTACK))) -- cgit v1.2.3-60-g2f50