diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-04-10 23:14:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-10 23:14:47 +0300 |
commit | a3475e987b0e642b2b9aa9c6cbf74762c6c77d23 (patch) | |
tree | d4d1e3b4640b98ae59ffb982114e708825114234 /src/gui/viewport.cpp | |
parent | 3973b3175a1efdb0d47e93b93af6ae5f50cb62f8 (diff) | |
download | manaplus-a3475e987b0e642b2b9aa9c6cbf74762c6c77d23.tar.gz manaplus-a3475e987b0e642b2b9aa9c6cbf74762c6c77d23.tar.bz2 manaplus-a3475e987b0e642b2b9aa9c6cbf74762c6c77d23.tar.xz manaplus-a3475e987b0e642b2b9aa9c6cbf74762c6c77d23.zip |
Add two default keys to input layout.
Add action type to default keys.
Remove hardcoded joystick actions.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r-- | src/gui/viewport.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 59b7377f4..3b58e03a9 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -511,7 +511,8 @@ void Viewport::mousePressed(gcn::MouseEvent &event) if (player_node != mHoverBeing) { player_node->attack(mHoverBeing, - !inputManager.isActionActive(Input::KEY_TARGET)); + !inputManager.isActionActive( + Input::KEY_STOP_ATTACK)); return; } } |