From 87a5d0f5076cd00f6f9f2e9479c760489f54d5a1 Mon Sep 17 00:00:00 2001 From: Matthias Hartmann Date: Sun, 2 Oct 2005 13:42:54 +0000 Subject: Allow to select a monster as target with RSHIFT+CRTL --- src/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game.cpp b/src/game.cpp index e2e121cd..2ed80da5 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -939,7 +939,7 @@ void do_input() { attack(autoTarget); } - else if (keys[SDLK_LSHIFT] && monster != player_node) + else if ((keys[SDLK_LSHIFT] || keys[SDLK_RSHIFT]) && monster != player_node) { autoTarget = monster; } -- cgit v1.2.3-70-g09d2