summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/game.cpp b/src/game.cpp
index b05cd6d28..68d637829 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -862,16 +862,6 @@ void Game::handleMoveAndAttack()
mLastTarget = ActorSprite::UNKNOWN; // Reset last target
}
}
-
- // Stop attacking if the right key is pressed
- if (!inputManager.isActionActive(Input::KEY_ATTACK)
- && !inputManager.isActionActive(Input::KEY_EMOTE))
- {
- if (inputManager.isActionActive(Input::KEY_STOP_ATTACK))
- player_node->stopAttack();
- else if (inputManager.isActionActive(Input::KEY_UNTARGET))
- player_node->untarget();
- }
}
}