diff options
author | Matthias Hartmann <hartmann.matthias@gmail.com> | 2005-10-02 13:42:54 +0000 |
---|---|---|
committer | Matthias Hartmann <hartmann.matthias@gmail.com> | 2005-10-02 13:42:54 +0000 |
commit | 87a5d0f5076cd00f6f9f2e9479c760489f54d5a1 (patch) | |
tree | f00cbae37f795817b62d3513802c76300e1a65c0 | |
parent | 4df1759a3636108839f9533268c8ce1b7156e132 (diff) | |
download | mana-87a5d0f5076cd00f6f9f2e9479c760489f54d5a1.tar.gz mana-87a5d0f5076cd00f6f9f2e9479c760489f54d5a1.tar.bz2 mana-87a5d0f5076cd00f6f9f2e9479c760489f54d5a1.tar.xz mana-87a5d0f5076cd00f6f9f2e9479c760489f54d5a1.zip |
Allow to select a monster as target with RSHIFT+CRTL
-rw-r--r-- | src/game.cpp | 2 |
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; } |