summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}